X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=29f9d5aa49d9e940aec00b60a6511da4ef68cccc;hb=501e88f916b62cdc232b204457a82ee77ab089b2;hp=775c6a1752a37c9c902f1ed15891998ad5121b11;hpb=a0a7afb0fe5e089489107dcb51e7e14d349754f5;p=dsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 775c6a17..29f9d5aa 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,byrd] { + if $::hostname in [pasquini,tristano,bertali,boito,byrd,clementi] { include ganeti2 } if $::hostname == 'dinis' { include bacula::director - } + } else { + package { 'bacula-console': + ensure => purged; + } - if $::hostname in [berlioz, biber, draghi, widor, wolkenstein] { - include bacula::client + file { '/etc/bacula/bconsole.conf': + ensure => absent; + } } if $::hostname == 'beethoven' { @@ -109,6 +114,10 @@ node default { include postgres } + if $::hostname in ['beethoven', 'berlioz', 'biber', 'diabelli', 'dinis', 'draghi', 'widor', 'wolkenstein'] { + @@bacula::node { $::fqdn: } + } + if $::spamd { munin::check { 'spamassassin': } }