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 e00a87d..71dc640 100644 (file)
@@ -106,6 +106,10 @@ node default {
                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': }
        }
index 93c6962..f8c5479 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",
        }
 
-       $clients = ['berlioz.debian.org', 'biber.debian.org', 'draghi.debian.org', 'widor.debian.org', 'wolkenstein.debian.org']
-       bacula::node { $clients: }
+       Bacula::Node<<| |>>
 
 }