X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=5f106c3896f75365732e4376fd5396ecc759b2fd;hb=46c07fe6439fb40dc9bfcbe3a20aa9bb2030396a;hp=e603cff60d7693f5eee232099133809550d2124b;hpb=373044350a9e4239c0fcd36eb5efcf8cc02754ae;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index e603cff60..5f106c389 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -8,7 +8,7 @@ class roles { include munin::master } - if getfromhash($site::nodeinfo, 'nagiosmaster') { + if has_role('nagiosmaster') { # include nagios::server ssl::service { 'nagios.debian.org': notify => Service['apache2'], @@ -29,6 +29,12 @@ class roles { include roles::bugs_mirror } + if has_role('bugs_base') { + ssl::service { 'bugs.debian.org': + notify => Service['apache2'], + } + } + if has_role('ftp_master') { include roles::ftp_master include roles::dakmaster @@ -130,6 +136,10 @@ class roles { include roles::udd } + if has_role('sso') { + include roles::sso + } + if has_role('buildd_master') { include roles::buildd_master } @@ -149,4 +159,8 @@ class roles { if has_role('release') { include roles::release } + + if has_role('rtc') { + include roles::rtc + } }