]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
try again with storeconfigs
authorStephen Gran <steve@lobefin.net>
Sun, 29 Jul 2012 11:10:38 +0000 (12:10 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 29 Jul 2012 11:10:38 +0000 (12:10 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
manifests/site.pp
modules/bacula/manifests/director.pp

index e00a87d032b0159df85750a2dfea134307c77c74..71dc640e6b1ec418b7612ebb5b08620b8558a6c2 100644 (file)
@@ -106,6 +106,10 @@ node default {
                include postgres
        }
 
                include postgres
        }
 
+       if $::hostname in ['berlioz.debian.org', 'biber.debian.org', 'draghi.debian.org', 'widor.debian.org', 'wolkenstein.debian.org'] {
+               @@bacula::node { $::fqdn: }
+       }
+
        if $::spamd {
                munin::check { 'spamassassin': }
        }
        if $::spamd {
                munin::check { 'spamassassin': }
        }
index 93c696294ff04f035a3bf4a6cc260fe287b0714e..f8c547939755b8d417034f4d4fed09512e4a35ec 100644 (file)
@@ -36,7 +36,6 @@ class bacula::director inherits bacula {
                rule        => "proto tcp mod state state (NEW) dport (bacula-dir) saddr (${bacula_director_address} localhost) ACCEPT",
        }
 
                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: }
+       Bacula::Node<<| |>>
 
 }
 
 }