3 # Lookup role and include relevant classes for roles
10 if has_role('muninmaster') {
14 if has_role('nagiosmaster') {
15 include nagios::server
19 if has_role('historical_mirror') {
20 include roles::historical_mirror
24 if has_role('debug_mirror') {
25 include roles::debug_mirror
28 # ftp.debian.org and its ecosystem
29 if has_role('debian_mirror') {
30 include roles::debian_mirror
32 if has_role('ftp_master') {
33 include roles::ftp_master
34 include roles::dakmaster
35 include roles::signing
37 if has_role('security_upload') {
38 include roles::security_upload
42 if has_role('security_master') {
43 include roles::security_master
44 include roles::dakmaster
47 if has_role('security_mirror') {
48 include roles::security_mirror
51 if has_role('git_master') {
52 include roles::git_master
55 if has_role('www_master') {
56 include roles::www_master
63 if has_role('syncproxy') {
64 include roles::syncproxy
67 if has_role('mailrelay') {
68 include roles::mailrelay
71 if has_role('dns_primary') {
72 include roles::dns_primary
75 if has_role('dns_geo') {
76 include roles::dns_geodns
79 if has_role('security_tracker') {
80 include roles::security_tracker
83 if has_role('rtmaster') {
84 include roles::rtmaster
95 if has_role('sso_rp') {
99 if has_role('postgres_backup_server') {
100 include postgres::backup_server
103 if has_role('packages') {
104 ssl::service { 'packages.debian.org': notify => Exec['service apache2 reload'], key => true, }
107 if has_role('historicalpackages') {
108 ssl::service { 'historical.packages.debian.org': notify => Exec['service apache2 reload'], key => true, }
111 if has_role('qamaster') {
112 ssl::service { 'qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
115 if has_role('packagesqamaster') {
116 ssl::service { 'packages.qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
119 if $::hostname in [lw01, lw02, lw03, lw04, lw09, lw10] {
120 include roles::snapshot
123 if has_role('snapshot_web') {
124 include roles::snapshot_web
127 if has_role('snapshot_shell') {
128 include roles::snapshot_shell
131 if has_role('planet_master') {
132 include roles::planet_master
134 if has_role('planet_search') {
135 ssl::service { 'planet-search.debian.org': notify => Exec['service apache2 reload'], key => true, }
138 if has_role('i18n.d.o') {
139 ssl::service { 'i18n.debian.org': notify => Exec['service apache2 reload'], key => true, }
142 if has_role('l10n.d.o') {
143 ssl::service { 'l10n.debian.org': notify => Exec['service apache2 reload'], key => true, }
146 if has_role('ports_master') {
147 include roles::ports_master
150 if has_role('onionbalance') {
151 include onion::balance
157 if has_role('postgresql_server') {
158 include postgres::backup_source
161 if $::keyring_debian_org_mirror {
162 include roles::keyring_debian_org_mirror
165 if has_role('popcon') {
166 include roles::popcon