- # 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
- }
-
- if has_role('bugs_base') {
- ssl::service { 'bugs.debian.org':
- 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, }
- ssl::service { 'bugs-master.debian.org': notify => Exec['service apache2 reload'], key => true, }
- }
-