3 if has_role('puppetmaster') {
7 if has_role('muninmaster') {
11 if getfromhash($site::nodeinfo, '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('ftp_master') {
33 include roles::ftp_master
34 include roles::dakmaster
37 # XXX: turn this into a real role
38 if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
39 include roles::security_mirror
42 if has_role('apache2_www_mirror') {
43 include roles::www_mirror
46 if has_role('ftp.d.o') {
50 if has_role('ftp.upload.d.o') {
51 include roles::ftp_upload
54 if has_role('security_master') {
55 include roles::security_master
56 include roles::dakmaster
59 if has_role('www_master') {
60 include roles::www_master
63 if has_role('keyring') {
64 include roles::keyring
71 if has_role('syncproxy') {
72 include roles::syncproxy
75 if has_role('static_master') {
76 include roles::static_master
79 if has_role('static_mirror') {
80 include roles::static_mirror
81 } elsif has_role('static_source') {
82 include roles::static_source
85 if has_role('weblog_provider') {
86 include roles::weblog_provider
89 if has_role('mailrelay') {
90 include roles::mailrelay
93 if has_role('pubsub') {
97 if has_role('dbmaster') {
98 include roles::dbmaster
101 if has_role('dns_primary') {
102 include named::primary
104 if has_role('dns_secondary') {
105 include named::authoritative
108 if has_role('weblog_destination') {
109 include roles::weblog_destination
112 if has_role('vote') {
116 if has_role('security_tracker') {
117 include roles::security_tracker
120 if has_role('lists') {
124 if has_role('rtmaster') {
125 include roles::rtmaster
132 if has_role('buildd_master') {
133 include roles::buildd_master
136 if has_role('piuparts') {
137 include roles::piuparts
140 if has_role('contributors') {
141 include roles::contributors
148 if has_role('release') {
149 include roles::release