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
30 ssl::service { 'bugs.debian.org':
31 notify => Service['apache2'],
35 if has_role('ftp_master') {
36 include roles::ftp_master
37 include roles::dakmaster
40 # XXX: turn this into a real role
41 if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
42 include roles::security_mirror
45 # XXX: turn this into a real role
46 if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
47 include roles::www_mirror
50 if has_role('ftp.d.o') {
54 if has_role('ftp.upload.d.o') {
55 include roles::ftp_upload
58 if has_role('security_master') {
59 include roles::security_master
60 include roles::dakmaster
63 if has_role('www_master') {
64 include roles::www_master
67 if has_role('keyring') {
68 include roles::keyring
75 if has_role('syncproxy') {
76 include roles::syncproxy
79 if has_role('static_master') {
80 include roles::static_master
83 if has_role('static_mirror') {
84 include roles::static_mirror
85 } elsif has_role('static_source') {
86 include roles::static_source
89 if has_role('weblog_provider') {
90 include roles::weblog_provider
93 if has_role('mailrelay') {
94 include roles::mailrelay
97 if has_role('pubsub') {
101 if has_role('dbmaster') {
102 include roles::dbmaster
105 if has_role('dns_primary') {
106 include named::primary
108 if has_role('dns_secondary') {
109 include named::authoritative
112 if has_role('weblog_destination') {
113 include roles::weblog_destination
116 if has_role('vote') {
120 if has_role('security_tracker') {
121 include roles::security_tracker
124 if has_role('lists') {
128 if has_role('rtmaster') {
129 include roles::rtmaster
140 if has_role('buildd_master') {
141 include roles::buildd_master
144 if has_role('piuparts') {
145 include roles::piuparts
148 if has_role('contributors') {
149 include roles::contributors
156 if has_role('release') {
157 include roles::release