From dab35faf2cb17694f624b831a3c1b36be976d197 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 24 Jun 2012 13:28:49 +0100 Subject: [PATCH] make sure this is an empty directory Signed-off-by: Stephen Gran --- modules/bacula/manifests/director.pp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index a33f5967d..368a38194 100644 --- a/modules/bacula/manifests/director.pp +++ b/modules/bacula/manifests/director.pp @@ -12,11 +12,14 @@ class bacula::director inherits bacula { } file { '/etc/bacula/conf.d': - ensure => directory, - mode => '0755', - group => bacula, - purge => true, - notify => Service['bacula-director'] + ensure => directory, + mode => '0755', + group => bacula, + purge => true, + force => true, + recurse => true, + source => 'puppet:///files/empty/', + notify => Service['bacula-director'] } Bacula::Node<<| |>> -- 2.20.1