X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=dc1dee0c1b40fbc82032e7a9a66e84f3173a113d;hb=c8ec38cb0dd5fe062b3597140a1bab01729c109a;hp=8c976f78e17fefb5a424650bab41133781918244;hpb=d891d2ddc4c8447648be4efe3ad335e0ea5c492d;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 8c976f78e..dc1dee0c1 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -15,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 } @@ -34,7 +24,7 @@ class roles { notify => Exec['service apache2 reload'], key => true, } - @ferm::rule { 'dsa-bugs-abusers': + ferm::rule { 'dsa-bugs-abusers': prio => "005", rule => "saddr (220.243.135/24 220.243.136/24) DROP", } @@ -126,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') { @@ -157,7 +143,7 @@ class roles { } if has_role('dns_geo') { - include named::geodns + include roles::dns_geodns } if has_role('weblog_destination') { @@ -215,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 }