X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=f287ec0c32c6c0fe059304199d9cd4649f8052f0;hb=29e997fcfccb12a19b9871228005d14fc6b9189e;hp=b837c61f0260f95324c4ff4ebd856b3606ba9d4e;hpb=6c89b952e2db008578761e06a2f2a517ce50cb4e;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index b837c61f0..f287ec0c3 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -16,6 +16,10 @@ class roles { include buildd } + if getfromhash($site::nodeinfo, 'porterbox') { + include porterbox + } + if getfromhash($site::nodeinfo, 'bugs_mirror') { include roles::bugs_mirror } @@ -54,8 +58,12 @@ 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') { @@ -67,4 +75,32 @@ class roles { } 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'], + } + } }