X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=3d46f4ee0c6ea8ae0022611018750a7f455e377d;hb=2c62001610ba34a92b56c5abcc0145eee7d355be;hp=6123122491d6661c7e8a7f66b40a7a283110f8fe;hpb=8fc104f1c82d84fb71ed3f3b5e8ac7708dea6d86;p=dsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 61231224..3d46f4ee 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -29,19 +29,37 @@ node default { include ntp include ntpdate include ssl - include motd include hardware include nagios::client include resolv include roles + include motd include unbound + include bacula::client + include autofs + include lvm + include multipath + include roles::pubsub::client - if $::hostname in [pasquini,tristano] { + if $::hostname in [pasquini,tristano,bertali,boito,rossini,salieri,dijkstra,luchesi,byrd,clementi,czerny,bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14] { include ganeti2 } + if $::hostname == 'dinis' { include bacula::director + } else { + package { 'bacula-console': + ensure => purged; + } + + file { '/etc/bacula/bconsole.conf': + ensure => absent; + } + } + + if $::hostname == 'backuphost' { + include bacula::storage } if $::kernel == Linux { @@ -69,20 +87,22 @@ node default { include apache2 } - if $::hostname in [ravel,senfl,orff,draghi,diamond] { - include named::authoritative - } elsif $::hostname in [geo1,geo2,geo3] { + if $::hostname in [geo1,geo2,geo3] { include named::geodns } - if $::hostname in [diabelli,nono,spohr] { + if $::hostname in [diabelli,nono] { include dacs } - if $::hostname in [beethoven,duarte,spohr,stabile] { + if $::hostname in [stabile,beach,glinka,milanollo,rautavaara] { include nfs-server } + if $::hostname == 'vieuxtemps' { + include varnish + } + if $::brokenhosts { include hosts } @@ -91,17 +111,25 @@ node default { include portforwarder } - include samhain + if $::samhain { + include samhain + } if $::hostname in [chopin,geo3,soler,wieck] { include debian-org::radvd } - if ($::postgres84 or $::postgres90) { + if ($::postgres) { include postgres } if $::spamd { munin::check { 'spamassassin': } } + + if $::hoster { + if $::hoster in [ynic] { + include lldp + } + } }