X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=8af2f9192f15a2237c96e847f688cd96f0d29a11;hb=b319b9f348a4deaf87aae506d23133e3c2086e79;hp=e30db067c6d1c81abae0f709cc75a1e80ff3522c;hpb=87af6720c28a5b5bcddd051effff996d17accc86;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index e30db067c..8af2f9192 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -29,15 +29,26 @@ node default { include ntp include ntpdate include ssl - include motd include hardware include nagios::client include resolv include roles + include motd include unbound include bacula::client + include autofs + include lvm + include multipath + if $::lsbdistcodename == squeeze { + include roles::udldap::client + } else { + include roles::pubsub::client + class { 'roles::udldap::client': + ensure => absent + } + } - if $::hostname in [pasquini,tristano,bertali,boito,byrd] { + if $::hostname in [ubc-bl7,ubc-bl3,ubc-bl2,ubc-bl6,ubc-bl8,luchesi,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] { include ganeti2 } @@ -53,7 +64,7 @@ node default { } } - if $::hostname == 'beethoven' { + if $::hostname == 'storace' { include bacula::storage } @@ -82,17 +93,15 @@ 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 [diabelli,nono,tchaikovsky] { + # include dacs + #} - if $::hostname in [beethoven,spohr,stabile,beach] { + if $::hostname in [beach,glinka,milanollo,lw01,lw02,lw03,lw04] { include nfs-server } @@ -104,21 +113,25 @@ node default { include portforwarder } - include samhain + if $::samhain { + include samhain + } if $::hostname in [chopin,geo3,soler,wieck] { include debian-org::radvd } - if ($::postgres84 or $::postgres90) { + if ($::postgres) { include postgres } - if $::hostname in ['beethoven', 'berlioz', 'biber', 'diabelli', 'dinis', 'draghi', 'widor', 'wolkenstein'] { - @@bacula::node { $::fqdn: } - } - if $::spamd { munin::check { 'spamassassin': } } + + if $::hoster { + if $::hoster in [ynic] { + include lldp + } + } }