summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-09 01:05:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-09 01:05:51 -0300
commit6ff5450bc2a78c04cb4413e472126de1c6ccbe93 (patch)
tree5e7c335d40ee4269c3ef33a9fa0923e768963f06
parent6e5830f77c2bbc3937690c0f964d104582889465 (diff)
downloadpuppet-reprepro-6ff5450bc2a78c04cb4413e472126de1c6ccbe93.tar.gz
puppet-reprepro-6ff5450bc2a78c04cb4413e472126de1c6ccbe93.tar.bz2
Executing /usr/local/bin/reprepro-export-key with refreshonly
-rw-r--r--manifests/init.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 7dc1abd..b85ddd5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -112,10 +112,11 @@ class reprepro {
subscribe => File["$basedir/conf/distributions"],
path => "/usr/bin:/bin";
"/usr/local/bin/reprepro-export-key":
- creates => "$basedir/key.asc",
- user => reprepro,
- subscribe => File["$basedir/.gnupg"],
- require => File["/usr/local/bin/reprepro-export-key"],
+ creates => "$basedir/key.asc",
+ user => reprepro,
+ subscribe => File["$basedir/.gnupg"],
+ require => File["/usr/local/bin/reprepro-export-key"],
+ refreshonly => true,
}
cron { reprepro: