From 645cf14059067025c1a5ef391693644c5b6d887d Mon Sep 17 00:00:00 2001 From: Tails developers Date: Tue, 23 Oct 2012 18:32:47 +0200 Subject: Processing the incoming queue requires the directory to be there --- manifests/init.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index f0fdd5c..6eac6d5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -141,7 +141,8 @@ class reprepro ( command => "/usr/bin/reprepro --silent -b $basedir processincoming incoming", user => reprepro, minute => '*/5', - require => [ Package['reprepro'], File["$basedir/conf/distributions"] ], + require => [ Package['reprepro'], File["$basedir/conf/distributions"], + File["$basedir/incoming"], ], } # Handling of incoming with inoticoming @@ -178,7 +179,8 @@ class reprepro ( hasstatus => false, require => [ Package['inoticoming'], File['/etc/default/reprepro'], - File['/etc/init.d/reprepro'] ], + File['/etc/init.d/reprepro'], + File["$basedir/incoming"] ], } exec { -- cgit v1.2.3