X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=2933d23fa81c6517d7e8394c839b8d533e63bfc6;hb=0995f61efc833223be6bc85d4e660ce8c0f6eecf;hp=e00a87d032b0159df85750a2dfea134307c77c74;hpb=8c44f1ff36f152ff0ee42cc7f372b4a20a51739b;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index e00a87d03..2933d23fa 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -21,41 +21,44 @@ 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] { - include ganeti2 + 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 + + include roles::pubsub::client + class { 'roles::udldap::client': + ensure => absent } - if $::hostname == 'dinis' { - include bacula::director - } - - 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' { @@ -74,39 +77,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 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 ($::postgres84 or $::postgres90) { - include postgres + if $::hostname in [geo3,wieck] { + include debian_org::radvd } if $::spamd { munin::check { 'spamassassin': } } + + if $::hostname == 'pkgmirror-csail' { + include varnish_pkgmirror + } }