X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=blobdiff_plain;f=manifests%2Fsite.pp;h=218452a84f4215fad0a3cf9d15145055d1eb850b;hp=931c6d0f074aa8314a766d96a3adc61021c7decc;hb=c56204607a20f6cdff73c7d690596ebbcec4d7a7;hpb=efe9f7a25834c736407891e7a1b0832dba16ba8b diff --git a/manifests/site.pp b/manifests/site.pp index 931c6d0f..218452a8 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -35,17 +35,22 @@ node default { include resolv include roles include unbound + include bacula::client - if $::hostname in [pasquini,tristano,bertali,boito] { + if $::hostname in [pasquini,tristano,bertali,boito,byrd] { include ganeti2 } if $::hostname == 'dinis' { include bacula::director - } + } else { + package { 'bacula-console': + ensure => purged; + } - if $::hostname in [berlioz] { - include bacula::client + file { '/etc/bacula/bconsole.conf': + ensure => absent; + } } if $::hostname == 'beethoven' { @@ -87,7 +92,7 @@ node default { include dacs } - if $::hostname in [beethoven,duarte,spohr,stabile,beach] { + if $::hostname in [beethoven,spohr,stabile,beach] { include nfs-server } @@ -109,6 +114,10 @@ node default { include postgres } + if $::hostname in ['berlioz', 'biber', 'diabelli', 'dinis', 'draghi', 'widor', 'wolkenstein'] { + @@bacula::node { $::fqdn: } + } + if $::spamd { munin::check { 'spamassassin': } }