X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=d0d7c8efb9d942bacfcdb397a80259cbf25b67ab;hb=dcd630f1f5c57cb6c1bc5c65f76825c7be3dc827;hp=aaeacee6ab26c052b76236a557dc0d7121cc591b;hpb=39aaccb6cffa5fcfe7af57304ede552abb1879c8;p=dsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index aaeacee6..d0d7c8ef 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 } @@ -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,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') { @@ -76,4 +75,71 @@ 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 [bendel] { + ssl::service { 'lists.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [reger] { + ssl::service { 'rt.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [diabelli] { + ssl::service { 'sso.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [ullmann] { + ssl::service { 'udd.debian.org': + notify => Service['apache2'], + } + } + + if $::hostname in [wuiet] { + ssl::service { 'buildd.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'], + } + } }