X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=a649d902b030f1281c445acf2d091f8d2299acd8;hb=56dda10452dc0f212cdeef366cce321016b20fb4;hp=f75f0f87943468e91863492fbaee6ea67825d921;hpb=e4f2cb33ec506e2ee52d93ba09bd13cb93bc9466;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index f75f0f879..a649d902b 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, biber, draghi] { - 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', 'draghi', 'widor', 'wolkenstein'] { + @@bacula::node { $::fqdn: } + } + if $::spamd { munin::check { 'spamassassin': } }