X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=2933d23fa81c6517d7e8394c839b8d533e63bfc6;hb=0995f61efc833223be6bc85d4e660ce8c0f6eecf;hp=46becc707a9ba88b902302c7450f810760fa149c;hpb=9c2c9e0a88142537050bf99c40dc64696adcf72d;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 46becc707..2933d23fa 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -21,49 +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,clementi] { - 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 - } else { - package { 'bacula-console': - ensure => purged; - } - - file { '/etc/bacula/bconsole.conf': - 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 +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 - } - - include samhain - - if $::hostname in [chopin,geo3,soler,wieck] { - include debian-org::radvd - } - - if ($::postgres) { - include postgres + if $::samhain { + include samhain } - if $::hostname in [beethoven, berlioz, biber, diabelli, dinis, draghi, geo3, schumann, soler, 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 + } }