X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=41d88df462434ab0159fc9b46632598d65d601d0;hb=344f8c0d25aa99d14c8cbe9d958c127ded4525ef;hp=19359263f4f61c2b5dcdd355ed54f224f97fa54a;hpb=7e9f3801f497c8f0a05094e04656f059fc903e56;p=dsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 19359263..41d88df4 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -33,100 +33,66 @@ node default { include hardware include nagios::client include resolv + include roles + include unbound + include bacula::client - if $::hostname in [pasquini,tristano] { + if $::hostname in [pasquini,tristano,bertali,boito,byrd,clementi] { include ganeti2 } + if $::hostname == 'dinis' { + include bacula::director + } else { + package { 'bacula-console': + ensure => purged; + } + + file { '/etc/bacula/bconsole.conf': + ensure => absent; + } + } + + if $::hostname == 'beethoven' { + include bacula::storage + } + if $::kernel == Linux { include linux + if $::kvmdomain { + include acpi + } } elsif $::kernel == 'GNU/kFreeBSD' { include kfreebsd } - if $::kvmdomain { - include acpi - } - if $::mta == 'exim4' { if getfromhash($site::nodeinfo, 'heavy_exim') { include exim::mx } else { include exim } - } else { + } elsif $::mta == 'postfix' { include postfix - } - - if $::lsbdistcodename != 'lenny' { - include unbound - } - - if getfromhash($site::nodeinfo, 'puppetmaster') { - include puppetmaster - } - - if getfromhash($site::nodeinfo, 'muninmaster') { - include munin::master - } - - if getfromhash($site::nodeinfo, 'nagiosmaster') { - include nagios::server - } - - if getfromhash($site::nodeinfo, 'buildd') { - include buildd - } - - if $::hostname in [chopin,franck,morricone,bizet] { - include roles::dakmaster - } - - if getfromhash($site::nodeinfo, 'apache2_security_mirror') { - include roles::security_mirror - } - - if getfromhash($site::nodeinfo, 'apache2_www_mirror') { - include roles::www_mirror - } - - if getfromhash($site::nodeinfo, 'apache2_backports_mirror') { - include roles::backports_mirror - } - - if getfromhash($site::nodeinfo, 'ftp.d.o') { - include roles::ftp - } - - if $::hostname in [bizet,morricone] { - include roles::backports_master - } - - if getfromhash($site::nodeinfo, 'apache2_ftp-upcoming_mirror') { - include roles::ftp-upcoming_mirror + } else { + include exim } if $::apache2 { include apache2 } - if $::rsyncd { - include rsyncd-log - } - if $::hostname in [ravel,senfl,orff,draghi,diamond] { include named::authoritative } elsif $::hostname in [geo1,geo2,geo3] { include named::geodns - } elsif $::hostname == 'liszt' { - include named::recursor } if $::hostname in [diabelli,nono,spohr] { include dacs } - if $::hostname in [beethoven,duarte,spohr,stabile] { + if $::hostname in [beethoven,spohr,stabile,beach] { include nfs-server } @@ -144,7 +110,7 @@ node default { include debian-org::radvd } - if ($::postgres84 or $::postgres90) { + if ($::postgres) { include postgres } @@ -152,7 +118,7 @@ node default { munin::check { 'spamassassin': } } - if $::hostname in [chopin,franck,ravel] { - include vsftpd + if $::hoster in [ynic] { + include lldp } }