X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=blobdiff_plain;f=manifests%2Fsite.pp;h=5b95b0c63d9e4e7053f1800d6f0a46e852444eb0;hp=218452a84f4215fad0a3cf9d15145055d1eb850b;hb=247d0420a7d4f86809c6c7d49c7ba2b76f9ca8f3;hpb=1b81fcdded9d253395961417ce4d7d957f6168c8 diff --git a/manifests/site.pp b/manifests/site.pp index 218452a8..5b95b0c6 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -29,15 +29,27 @@ 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 grub + 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,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] { include ganeti2 } @@ -53,15 +65,13 @@ node default { } } - if $::hostname == 'beethoven' { + if $::hostname == 'storace' { include bacula::storage } if $::kernel == Linux { include linux - if $::kvmdomain { - include acpi - } + include acpi } elsif $::kernel == 'GNU/kFreeBSD' { include kfreebsd } @@ -79,20 +89,20 @@ node default { } if $::apache2 { - include apache2 + if !($::hostname in [oyens]) { + 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 +114,26 @@ node default { include portforwarder } - include samhain + if $::samhain { + include samhain + } - if $::hostname in [chopin,geo3,soler,wieck] { + if $::hostname in [chopin,geo3,wieck] { include debian-org::radvd } - if ($::postgres84 or $::postgres90) { + if ($::postgres) { include postgres } - if $::hostname in ['berlioz', 'biber', 'diabelli', 'dinis', 'draghi', 'widor', 'wolkenstein'] { - @@bacula::node { $::fqdn: } - } - if $::spamd { munin::check { 'spamassassin': } } + + if $::hoster { + if $::hoster in [ynic] { + include lldp + } + } } +