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
43 # XXX: turn this into a real role
44 if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
45 include roles::www_mirror
48 if has_role('ftp.d.o') {
52 if has_role('ftp.upload.d.o') {
53 include roles::ftp_upload
56 if has_role('security_master') {
57 include roles::security_master
58 include roles::dakmaster
61 if has_role('www_master') {
62 include roles::www_master
65 if has_role('keyring') {
66 include roles::keyring
73 if has_role('syncproxy') {
74 include roles::syncproxy
77 if has_role('static_master') {
78 include roles::static_master
81 if has_role('static_mirror') {
82 include roles::static_mirror
83 } elsif has_role('static_source') {
84 include roles::static_source
87 if has_role('weblog_provider') {
88 include roles::weblog_provider
91 if has_role('mailrelay') {
92 include roles::mailrelay
95 if has_role('pubsub') {
99 if has_role('dbmaster') {
100 include roles::dbmaster
103 if has_role('dns_primary') {
104 include named::primary
106 if has_role('dns_secondary') {
107 include named::authoritative
110 if has_role('weblog_destination') {
111 include roles::weblog_destination
114 if has_role('vote') {
118 if has_role('security_tracker') {
119 include roles::security_tracker
122 if has_role('lists') {
126 if has_role('rtmaster') {
127 include roles::rtmaster
134 if has_role('buildd_master') {
135 include roles::buildd_master
138 if has_role('piuparts') {
139 include roles::piuparts
142 if has_role('contributors') {
143 include roles::contributors
150 if has_role('release') {
151 include roles::release