X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=6b8be82d0a121740f0aafd02791eb98f15764e72;hb=e004cf0926cc3bdb95c0d71c79cd734b1e1cc806;hp=b9382e2606f90e215466b0c42918bd5faffce49a;hpb=87db6fdf68db406ed80a5d6c8bf89e4f4428b365;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index b9382e260..6b8be82d0 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -21,49 +21,48 @@ Service { node default { include site include munin - include syslog-ng + include syslog_ng include sudo include ssh - include debian-org + include debian_org include monit - include ntp - include ntpdate + include time include ssl - include motd include hardware include nagios::client include resolv include roles + include motd include unbound include bacula::client - - if $::hostname in [pasquini,tristano,bertali,boito,byrd,clementi,czerny] { - include ganeti2 - } - - if $::hostname == 'dinis' { - include bacula::director + include autofs + include dsa_lvm + include grub + include multipath + include popcon + include portforwarder + include postgres + include haveged + include huge_mem + include tcp_bbr + include certregen::client + + if $::lsbdistcodename == squeeze { + include roles::udldap::client } else { - package { 'bacula-console': - ensure => purged; - } - - file { '/etc/bacula/bconsole.conf': - ensure => absent; + include roles::pubsub::client + class { 'roles::udldap::client': + ensure => absent } } - if $::hostname == 'beethoven' { - include bacula::storage + if getfromhash($site::nodeinfo, 'ganeti') { + include ganeti2 } - if $::kernel == Linux { + if $::kernel == 'Linux' { include linux - if $::kvmdomain { - include acpi - } - } elsif $::kernel == 'GNU/kFreeBSD' { - include kfreebsd + include acpi } if $::mta == 'exim4' { @@ -82,49 +81,31 @@ 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] { - include dacs - } - - if $::hostname in [beethoven,spohr,stabile,beach] { - include nfs-server - } - - if $::hostname == 'vieuxtemps' { - include varnish + if $::hostname in [buxtehude,milanollo,lw01,lw02,lw03,lw04,lw09,lw10,senfter,gretchaninov,sibelius] { + include nfs_server } if $::brokenhosts { include hosts } - if $::portforwarder_user_exists { - include portforwarder + if $::samhain { + include samhain } - include samhain - - if $::hostname in [chopin,geo3,soler,wieck] { - include debian-org::radvd - } - - if ($::postgres) { - include postgres + if $::hostname in [geo3,wieck] { + include debian_org::radvd } if $::spamd { munin::check { 'spamassassin': } } - if $::hoster { - if $::hoster in [ynic] { - include lldp - } + if $::hostname == 'pkgmirror-csail' { + include varnish_pkgmirror } }