X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=aaeacee6ab26c052b76236a557dc0d7121cc591b;hb=6472d1591bd84323a79e43dff6bcf7e044f62bc8;hp=2bdae0d38f7e9581d4cf82ae9572039baeb8a675;hpb=060f447f5fde318dd78e9f53b21fde9a123d476f;p=dsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 2bdae0d3..aaeacee6 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -8,15 +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_mirror') { + include roles::bugs_mirror + } + if getfromhash($site::nodeinfo, 'ftp_master') { + include roles::ftp_master include roles::dakmaster } @@ -50,7 +55,25 @@ class roles { 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 + } }