diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-25 17:48:18 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-25 17:48:18 -0200 |
commit | 438536749c595ed30e65de0aa795fae0f6dbd5d9 (patch) | |
tree | 1ad8fb69faa8427f59c0b639c8db8eb0ef6b898e /manifests | |
parent | b01c24d6e579109f371344c01dab270523171c56 (diff) | |
download | puppet-reprepro-438536749c595ed30e65de0aa795fae0f6dbd5d9.tar.gz puppet-reprepro-438536749c595ed30e65de0aa795fae0f6dbd5d9.tar.bz2 |
Using two execs to ensure the repo key is exported
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 5ce0a44..210ca8f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -120,6 +120,10 @@ class reprepro { "/usr/local/bin/reprepro-export-key": creates => "$basedir/key.asc", user => reprepro, + require => File["/usr/local/bin/reprepro-export-key"], + "/usr/local/bin/reprepro-export-key-update": + command => "/usr/local/bin/reprepro-export-key" + user => reprepro, subscribe => File["$basedir/.gnupg/secring.gpg"], require => File["/usr/local/bin/reprepro-export-key"], refreshonly => true, |