X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=a649d902b030f1281c445acf2d091f8d2299acd8;hb=042f49e722b8375b0453073ae29aabd0b6cde7e8;hp=c43202eaaaa3d47b4c7268285842b3d2c1c86e2e;hpb=0874efbb1e410ae19ede4e7404f798310401e2c3;p=dsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index c43202ea..a649d902 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -35,6 +35,7 @@ node default { include resolv include roles include unbound + include bacula::client if $::hostname in [pasquini,tristano,bertali,boito,byrd] { include ganeti2 @@ -42,10 +43,14 @@ node default { if $::hostname == 'dinis' { include bacula::director - } + } else { + package { 'bacula-console': + ensure => purged; + } - if $::hostname in [berlioz, biber, draghi, widor] { - include bacula::client + file { '/etc/bacula/bconsole.conf': + ensure => absent; + } } if $::hostname == 'beethoven' { @@ -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': } }