X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=f287ec0c32c6c0fe059304199d9cd4649f8052f0;hb=311cc4b8cbb3d0799979dc7442fdd1ee0bbf9374;hp=647f4576aecfb58db6cec2f5c3d1bf24fea0eea2;hpb=98293f6fb4e156b3c2f42024adec5d332c056bcf;p=dsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 647f4576..f287ec0c 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -8,14 +8,18 @@ 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, 'porterbox') { + include porterbox + } + if getfromhash($site::nodeinfo, 'bugs_mirror') { include roles::bugs_mirror } @@ -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,49 @@ 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 [pejacevic] { + ssl::service { 'piuparts.debian.org': + notify => Service['apache2'], + } } }