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 if has_role('apache2_security_mirror') {
38 include roles::security_mirror
41 if has_role('apache2_www_mirror') {
42 include roles::www_mirror
45 if has_role('ftp.d.o') {
49 if has_role('ftp.upload.d.o') {
50 include roles::ftp_upload
53 if has_role('security_master') {
54 include roles::security_master
55 include roles::dakmaster
58 if has_role('www_master') {
59 include roles::www_master
62 if has_role('keyring') {
63 include roles::keyring
70 if has_role('syncproxy') {
71 include roles::syncproxy
74 if has_role('static_master') {
75 include roles::static_master
78 if has_role('static_mirror') {
79 include roles::static_mirror
80 } elsif has_role('static_source') {
81 include roles::static_source
84 if has_role('weblog_provider') {
85 include roles::weblog_provider
88 if has_role('mailrelay') {
89 include roles::mailrelay
92 if has_role('pubsub') {
96 if has_role('dbmaster') {
97 include roles::dbmaster
100 if has_role('dns_primary') {
101 include named::primary
103 if has_role('dns_secondary') {
104 include named::authoritative
107 if has_role('weblog_destination') {
108 include roles::weblog_destination
111 if has_role('vote') {
115 if has_role('security_tracker') {
116 include roles::security_tracker
119 if has_role('lists') {
123 if has_role('rtmaster') {
124 include roles::rtmaster
131 if has_role('buildd_master') {
132 include roles::buildd_master
135 if has_role('piuparts') {
136 include roles::piuparts
139 if has_role('contributors') {
140 include roles::contributors
147 if has_role('release') {
148 include roles::release