summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2009-06-24 15:46:08 -0400
committerAntoine Beaupre <anarcat@koumbit.org>2009-06-24 15:46:08 -0400
commitff239a726ff530326ed7a56ad5ea6203a6f9bd3f (patch)
tree6f2d066affff3b010f2fda11523f25636e08795c /manifests
parentd9cab0d23a3602ab6f80d02cc15d442f9c5c85a1 (diff)
downloadpuppet-reprepro-ff239a726ff530326ed7a56ad5ea6203a6f9bd3f.tar.gz
puppet-reprepro-ff239a726ff530326ed7a56ad5ea6203a6f9bd3f.tar.bz2
create the Packages file when the distributions file change
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 099693e..037786d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -83,6 +83,10 @@ class reprepro {
refreshonly => true,
subscribe => File["$basedir/conf/distributions"],
path => "/usr/bin:/bin";
+ "reprepro -b $basedir export":
+ refreshonly => true,
+ subscribe => File["$basedir/conf/distributions"],
+ path => "/usr/bin:/bin";
"gpg --export -a `gpg --with-colon --list-secret-keys | awk -F ':' '{ print $5 }' | head -1` > $basedir/key.asc":
creates => "$basedir/key.asc",
subscribe => File["$basedir/.gnupg"],