]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
create the Packages file when the distributions file change
authorAntoine Beaupre <anarcat@koumbit.org>
Wed, 24 Jun 2009 19:46:08 +0000 (15:46 -0400)
committerAntoine Beaupre <anarcat@koumbit.org>
Wed, 24 Jun 2009 19:46:08 +0000 (15:46 -0400)
manifests/init.pp

index 099693e7ddf578a75dfe197bf7cb65a67fc1468a..037786d66f3b79f616fa533af510ee6e3c8a8003 100644 (file)
@@ -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"],