From: Stephen Gran Date: Sun, 24 Jun 2012 12:28:49 +0000 (+0100) Subject: make sure this is an empty directory X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=dab35faf2cb17694f624b831a3c1b36be976d197;p=mirror%2Fdsa-puppet.git make sure this is an empty directory Signed-off-by: Stephen Gran --- 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<<| |>>