diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2009-06-24 15:46:08 -0400 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2009-06-24 15:46:08 -0400 |
commit | ff239a726ff530326ed7a56ad5ea6203a6f9bd3f (patch) | |
tree | 6f2d066affff3b010f2fda11523f25636e08795c /manifests/init.pp | |
parent | d9cab0d23a3602ab6f80d02cc15d442f9c5c85a1 (diff) | |
download | puppet-reprepro-ff239a726ff530326ed7a56ad5ea6203a6f9bd3f.tar.gz puppet-reprepro-ff239a726ff530326ed7a56ad5ea6203a6f9bd3f.tar.bz2 |
create the Packages file when the distributions file change
Diffstat (limited to 'manifests/init.pp')
-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 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"], |