3 if has_role('puppetmaster') {
7 if has_role('muninmaster') {
11 if has_role('nagiosmaster') {
12 # include nagios::server
13 ssl::service { 'nagios.debian.org':
14 notify => Service['apache2'],
18 # XXX: turn this into a real role
19 if getfromhash($site::nodeinfo, 'buildd') {
23 # XXX: turn this into a real role
24 if getfromhash($site::nodeinfo, 'porterbox') {
28 if has_role('bugs_mirror') {
29 include roles::bugs_mirror
32 if has_role('bugs_base') {
33 ssl::service { 'bugs.debian.org':
34 notify => Service['apache2'],
37 if has_role('bugs_master') {
38 ssl::service { 'bugs-master.debian.org':
39 notify => Service['apache2'],
43 if has_role('ftp_master') {
44 include roles::ftp_master
45 include roles::dakmaster
48 # XXX: turn this into a real role
49 if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
50 include roles::security_mirror
53 # XXX: turn this into a real role
54 if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
55 include roles::www_mirror
58 if has_role('ftp.d.o') {
62 if has_role('ftp.upload.d.o') {
63 include roles::ftp_upload
66 if has_role('security_master') {
67 include roles::security_master
68 include roles::dakmaster
71 if has_role('www_master') {
72 include roles::www_master
75 if has_role('keyring') {
76 include roles::keyring
83 if has_role('syncproxy') {
84 include roles::syncproxy
87 if has_role('static_master') {
88 include roles::static_master
91 if has_role('static_mirror') {
92 include roles::static_mirror
93 } elsif has_role('static_source') {
94 include roles::static_source
97 if has_role('weblog_provider') {
98 include roles::weblog_provider
101 if has_role('mailrelay') {
102 include roles::mailrelay
105 if has_role('pubsub') {
106 include roles::pubsub
109 if has_role('dbmaster') {
110 include roles::dbmaster
113 if has_role('dns_primary') {
114 include named::primary
116 if has_role('dns_secondary') {
117 include named::authoritative
120 if has_role('weblog_destination') {
121 include roles::weblog_destination
124 if has_role('vote') {
128 if has_role('security_tracker') {
129 include roles::security_tracker
132 if has_role('lists') {
136 if has_role('rtmaster') {
137 include roles::rtmaster
148 if has_role('buildd_master') {
149 include roles::buildd_master
152 if has_role('piuparts') {
153 include roles::piuparts
156 if has_role('contributors') {
157 include roles::contributors
164 if has_role('release') {
165 include roles::release
172 if has_role('postgres_backup_server') {
173 include postgres::backup_server
176 if has_role('packages') {
177 ssl::service { 'packages.debian.org':
178 notify => Service['apache2'],