]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/bacula/manifests/director.pp
add wolkenstein.debian.org
[dsa-puppet.git] / modules / bacula / manifests / director.pp
index 6540c4d44debad9b5954ef58b422e5d1f9ef6a74..93c696294ff04f035a3bf4a6cc260fe287b0714e 100644 (file)
@@ -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', 'wolkenstein.debian.org']
+       bacula::node { $clients: }
+
 }