X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=8162575473449842577b6b02400c2432eeccd218;hb=0ac9b4ec2a337bdf9ab31c22ba29580532570bb8;hp=5b95b0c63d9e4e7053f1800d6f0a46e852444eb0;hpb=247d0420a7d4f86809c6c7d49c7ba2b76f9ca8f3;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 5b95b0c63..816257547 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -21,13 +21,12 @@ 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 hardware include nagios::client @@ -37,9 +36,16 @@ node default { include unbound include bacula::client include autofs - include lvm + include dsa_lvm include grub include multipath + include popcon + include portforwarder + include postgres + include haveged + include huge_mem + include tcp_bbr + if $::lsbdistcodename == squeeze { include roles::udldap::client } else { @@ -49,27 +55,11 @@ node default { } } - if $::hostname in [ubc-bl7,ubc-bl3,ubc-bl2,ubc-bl6,ubc-bl8,ubc-bl4,byrd,clementi,czerny,bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,csail-node01,csail-node02,grnet-node01,grnet-node02] { + if $::hostname in [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,csail-node01,csail-node02,grnet-node01,grnet-node02,ubc-enc2bl01,ubc-enc2bl02,ubc-enc2bl09,ubc-enc2bl10,conova-node01,conova-node02] { include ganeti2 } - if $::hostname == 'dinis' { - include bacula::director - } else { - package { 'bacula-console': - ensure => purged; - } - - file { '/etc/bacula/bconsole.conf': - ensure => absent; - } - } - - if $::hostname == 'storace' { - include bacula::storage - } - - if $::kernel == Linux { + if $::kernel == 'Linux' { include linux include acpi } elsif $::kernel == 'GNU/kFreeBSD' { @@ -89,51 +79,34 @@ node default { } if $::apache2 { - if !($::hostname in [oyens]) { - include apache2 - } + include apache2 } if $::hostname in [geo1,geo2,geo3] { include named::geodns } - #if $::hostname in [diabelli,nono,tchaikovsky] { - # include dacs - #} - - if $::hostname in [beach,glinka,milanollo,lw01,lw02,lw03,lw04] { - 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 } - if $::hostname in [chopin,geo3,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 } } -