From: Stephen Gran Date: Sun, 29 Jul 2012 11:10:38 +0000 (+0100) Subject: try again with storeconfigs X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=6662dcaaa84043c8ee2dfd89481fd503d4d8827e try again with storeconfigs Signed-off-by: Stephen Gran --- diff --git a/manifests/site.pp b/manifests/site.pp index e00a87d0..71dc640e 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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': } } diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index 93c69629..f8c54793 100644 --- a/modules/bacula/manifests/director.pp +++ b/modules/bacula/manifests/director.pp @@ -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<<| |>> }