From: Silvio Rhatto Date: Fri, 25 Nov 2011 19:48:18 +0000 (-0200) Subject: Using two execs to ensure the repo key is exported X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=438536749c595ed30e65de0aa795fae0f6dbd5d9;p=puppet-reprepro.git Using two execs to ensure the repo key is exported --- diff --git a/manifests/init.pp b/manifests/init.pp index 5ce0a44..210ca8f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -120,6 +120,10 @@ class reprepro { "/usr/local/bin/reprepro-export-key": creates => "$basedir/key.asc", user => reprepro, + require => File["/usr/local/bin/reprepro-export-key"], + "/usr/local/bin/reprepro-export-key-update": + command => "/usr/local/bin/reprepro-export-key" + user => reprepro, subscribe => File["$basedir/.gnupg/secring.gpg"], require => File["/usr/local/bin/reprepro-export-key"], refreshonly => true,