X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=fd6d30426de12a2512f832fe2e593a09f4c811da;hb=8845398fa77362b365b4d17e4e6a23648543c8f2;hp=a8f745ab1dddcb2596c3cce4311a239c6acf4efc;hpb=02b706b6a3a4660bc98181c05d81671878cd8557;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index a8f745ab1..fd6d30426 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -8,16 +8,20 @@ class roles { include munin::master } - if getfromhash($site::nodeinfo, 'nagiosmaster') { - include nagios::server - } + #if getfromhash($site::nodeinfo, 'nagiosmaster') { + # include nagios::server + #} if getfromhash($site::nodeinfo, 'buildd') { include buildd } - if getfromhash($site::nodeinfo, 'bugs_search') { - include roles::bugs_search + if getfromhash($site::nodeinfo, 'porterbox') { + include porterbox + } + + if getfromhash($site::nodeinfo, 'bugs_mirror') { + include roles::bugs_mirror } if getfromhash($site::nodeinfo, 'ftp_master') { @@ -33,10 +37,6 @@ class roles { include roles::www_mirror } - if getfromhash($site::nodeinfo, 'apache2_backports_mirror') { - include roles::backports_mirror - } - if getfromhash($site::nodeinfo, 'ftp.d.o') { include roles::ftp } @@ -45,11 +45,6 @@ class roles { include roles::ftp_upload } - if getfromhash($site::nodeinfo, 'backports_master') { - include roles::backports_master - include roles::dakmaster - } - if getfromhash($site::nodeinfo, 'security_master') { include roles::security_master include roles::dakmaster @@ -63,7 +58,70 @@ class roles { include roles::keyring } - if getfromhash($site::nodeinfo, 'apache2_ftp-upcoming_mirror') { - include roles::ftp-upcoming_mirror + if getfromhash($site::nodeinfo, 'wiki') { + include roles::wiki + } + + if getfromhash($site::nodeinfo, 'syncproxy') { + include roles::syncproxy + } + + if getfromhash($site::nodeinfo, 'static_master') { + include roles::static_master + } + + if getfromhash($site::nodeinfo, 'static_mirror') { + include roles::static_mirror + } elsif getfromhash($site::nodeinfo, 'static_source') { + include roles::static_source + } + + if getfromhash($site::nodeinfo, 'weblog_provider') { + include roles::weblog_provider + } + + if getfromhash($site::nodeinfo, 'mailrelay') { + include roles::mailrelay + } + + if getfromhash($site::nodeinfo, 'pubsub') { + include roles::pubsub + } + + if $::hostname in [ravel] { + include roles::weblog_destination + } + + if $::hostname in [soler] { + ssl::service { 'security-tracker.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [bendel] { + ssl::service { 'lists.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [ullmann] { + ssl::service { 'udd.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [pejacevic] { + ssl::service { 'piuparts.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [nono] { + ssl::service { 'nm.debian.org': + notify => Service['apache2'], + } + ssl::service { 'contributors.debian.org': + notify => Service['apache2'], + } } }