From 438536749c595ed30e65de0aa795fae0f6dbd5d9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Nov 2011 17:48:18 -0200 Subject: Using two execs to ensure the repo key is exported --- manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests') 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, -- cgit v1.2.3