X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=fad6b087a436751f643a1ef183d5263ec6fb78dd;hb=bf3691ae1a76a07158faf2acc34f68a59874ff9c;hp=331aa118014b7f35b610adac3ac25c5882c3617e;hpb=bae2379d07fb7dc5e953b3f090950965300705a8;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 331aa1180..fad6b087a 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -14,10 +14,10 @@ class roles { if getfromhash($site::nodeinfo, 'buildd') { include buildd - } else { - class { 'buildd': - ensure => absent - } + } + + if getfromhash($site::nodeinfo, 'porterbox') { + include porterbox } if getfromhash($site::nodeinfo, 'bugs_mirror') { @@ -37,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 } @@ -49,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 @@ -80,4 +71,16 @@ 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 $::hostname in [ravel] { + include roles::weblog_destination + } }