X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fdirector.pp;h=4186e363a909e1d885e90e371f54ed8c9aae3b7e;hb=5cb1933757800bad9ba98090351aec972403e00d;hp=6540c4d44debad9b5954ef58b422e5d1f9ef6a74;hpb=6a6f323df04506d53a2d5fb8e30765ec216877d9;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index 6540c4d44..4186e363a 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,8 @@ 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", } + + $clients = ['berlioz.debian.org', 'biber.debian.org', 'draghi.debian.org', 'widor.debian.org'] + bacula::node { $clients: } + }