X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=c3f57bbe4776e83fbfde938c6be752ac0c7999fd;hb=251e7bcc5bd4288912203f53bf19f9116801cd54;hp=32b06280f8cf0e26b79358790f13e022c3aa83d0;hpb=2863bac22b35c899eb01b5b6011584ea8c889efc;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index 32b06280f..c3f57bbe4 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -39,12 +39,19 @@ node default { 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,rossini,salieri,dijkstra,luchesi,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] { + 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 } - if $::hostname == 'dinis' { include bacula::director } else { @@ -57,7 +64,7 @@ node default { } } - if $::hostname == 'beethoven' { + if $::hostname == 'storace' { include bacula::storage } @@ -83,30 +90,23 @@ node default { } if $::apache2 { - include apache2 + if !($::hostname in [oyens]) { + include apache2 + } } - if $::hostname in [ravel,senfl,orff,draghi,diamond,rietz] { - include named::authoritative - } elsif $::hostname in [geo1,geo2,geo3] { + if $::hostname in [geo1,geo2,geo3] { include named::geodns } - if $::hostname in [orff] { - include dnsextras::entries - } - if $::hostname in [diabelli,nono] { - include dacs - } + #if $::hostname in [diabelli,nono,tchaikovsky] { + # include dacs + #} - if $::hostname in [stabile,beach,glinka,milanollo,rautavaara] { + if $::hostname in [beach,glinka,milanollo,lw01,lw02,lw03,lw04] { include nfs-server } - if $::hostname == 'vieuxtemps' { - include varnish - } - if $::brokenhosts { include hosts } @@ -137,3 +137,4 @@ node default { } } } +