X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=dc1dee0c1b40fbc82032e7a9a66e84f3173a113d;hb=f7adabc11f4b86313d541b2007570cf3e475320b;hp=3aaccfa0159d5d409e80af2396cdf4b2948461b0;hpb=40b92de076d1526b761bf997ec449c14ebe904bb;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 3aaccfa01..dc1dee0c1 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -7,11 +7,6 @@ # include roles # class roles { - - if has_role('puppetmaster') { - include puppetmaster - } - if has_role('muninmaster') { include munin::master } @@ -20,16 +15,6 @@ class roles { include nagios::server } - # XXX: turn this into a real role - if getfromhash($site::nodeinfo, 'buildd') { - include buildd - } - - # XXX: turn this into a real role - if getfromhash($site::nodeinfo, 'porterbox') { - include porterbox - } - if has_role('bugs_mirror') { include roles::bugs_mirror } @@ -39,6 +24,10 @@ class roles { notify => Exec['service apache2 reload'], key => true, } + ferm::rule { 'dsa-bugs-abusers': + prio => "005", + rule => "saddr (220.243.135/24 220.243.136/24) DROP", + } } if has_role('bugs_master') { ssl::service { 'bugs-devel.debian.org': notify => Exec['service apache2 reload'], key => true, } @@ -127,10 +116,6 @@ class roles { include roles::syncproxy } - if has_role('static_master') { - include roles::static_master - } - if has_role('static_mirror') { include roles::static_mirror } elsif has_role('static_source') { @@ -154,7 +139,11 @@ class roles { } if has_role('dns_primary') { - include named::primary + include roles::dns_primary + } + + if has_role('dns_geo') { + include roles::dns_geodns } if has_role('weblog_destination') { @@ -193,10 +182,6 @@ class roles { include roles::tracker } - if has_role('buildd_master') { - include roles::buildd_master - } - if has_role('piuparts') { include roles::piuparts } @@ -216,10 +201,6 @@ class roles { include roles::rtc } - if has_role('jenkins') { - include roles::jenkins - } - if has_role('postgres_backup_server') { include postgres::backup_server } @@ -282,11 +263,15 @@ class roles { include roles::snapshot_web } + if has_role('snapshot_shell') { + include roles::snapshot_shell + } + if has_role('veyepar.debian.org') { - ssl::service { 'veyepar.debian.org': notify => Exec['service apache2 reload'], key => true, } + include roles::veyepar } if has_role('sreview.debian.org') { - ssl::service { 'sreview.debian.net': notify => Exec['service apache2 reload'], key => true, } + include roles::sreview } if has_role('debtags') { @@ -382,5 +367,4 @@ class roles { if has_role('anonscm') { include roles::anonscm } - }