From ff239a726ff530326ed7a56ad5ea6203a6f9bd3f Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Wed, 24 Jun 2009 15:46:08 -0400 Subject: create the Packages file when the distributions file change --- manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests/init.pp') 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"], -- cgit v1.2.3