X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=9bf2eb83470fd9e6db582c61cdc94c4d1c0eaf64;hb=70ae0a0c23d6d88d6c08e35485a33796e8b948e3;hp=a649d902b030f1281c445acf2d091f8d2299acd8;hpb=042f49e722b8375b0453073ae29aabd0b6cde7e8;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index a649d902b..9bf2eb834 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -21,49 +21,47 @@ 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 - } - - 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 + + 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,43 +80,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 - } - - include samhain - - if $::hostname in [chopin,geo3,soler,wieck] { - include debian-org::radvd + if $::samhain { + include samhain } - if ($::postgres84 or $::postgres90) { - include postgres - } - - if $::hostname in ['berlioz', 'biber', 'diabelli', 'draghi', 'widor', 'wolkenstein'] { - @@bacula::node { $::fqdn: } + if $::hostname in [geo3,wieck] { + include debian_org::radvd } if $::spamd { munin::check { 'spamassassin': } } + + if $::hostname == 'pkgmirror-csail' { + include varnish_pkgmirror + } }