X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=fad6b087a436751f643a1ef183d5263ec6fb78dd;hb=0ef36d9ed6283709cf7b25648b12421a325b3879;hp=437a5a508df606b1d8bd0f31e0998af27d5f5a0e;hpb=59a2cc3e48fbcae69ea87ed198e46d6b8a6859c8;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 437a5a508..fad6b087a 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,17 +45,42 @@ 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 } + if getfromhash($site::nodeinfo, 'www_master') { + include roles::www_master + } + + if getfromhash($site::nodeinfo, 'keyring') { + include roles::keyring + } + if getfromhash($site::nodeinfo, 'apache2_ftp-upcoming_mirror') { include roles::ftp-upcoming_mirror } + + 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 $::hostname in [ravel] { + include roles::weblog_destination + } }