X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fdirector.pp;h=f8c547939755b8d417034f4d4fed09512e4a35ec;hb=6662dcaaa84043c8ee2dfd89481fd503d4d8827e;hp=6540c4d44debad9b5954ef58b422e5d1f9ef6a74;hpb=6a6f323df04506d53a2d5fb8e30765ec216877d9;p=dsa-puppet.git diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index 6540c4d4..f8c54793 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'] } file { '/etc/bacula/bacula-dir.conf': @@ -32,4 +35,7 @@ class bacula::director inherits bacula { description => 'Allow bacula access from localhost', rule => "proto tcp mod state state (NEW) dport (bacula-dir) saddr (${bacula_director_address} localhost) ACCEPT", } + + Bacula::Node<<| |>> + }