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
39 if has_role('security_master') {
40 include roles::security_master
41 include roles::dakmaster
44 if has_role('security_mirror') {
45 include roles::security_mirror
48 if has_role('syncproxy') {
49 include roles::syncproxy
52 if has_role('mailrelay') {
53 include roles::mailrelay
56 if has_role('dns_primary') {
57 include roles::dns_primary
60 if has_role('dns_geo') {
61 include roles::dns_geodns
64 if has_role('security_tracker') {
65 include roles::security_tracker
68 if has_role('rtmaster') {
69 include roles::rtmaster
80 if has_role('sso_rp') {
84 if has_role('postgres_backup_server') {
85 include postgres::backup_server
89 if has_role('qamaster') {
90 ssl::service { 'qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
93 if has_role('packagesqamaster') {
94 ssl::service { 'packages.qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
97 if $::hostname in [lw01, lw02, lw03, lw04, lw09, lw10] {
98 include roles::snapshot
101 if has_role('snapshot_web') {
102 include roles::snapshot_web
105 if has_role('snapshot_shell') {
106 include roles::snapshot_shell
109 if has_role('ports_master') {
110 include roles::ports_master
113 if has_role('onionbalance') {
114 include onion::balance
120 if has_role('postgresql_server') {
121 include postgres::backup_source
124 if $::keyring_debian_org_mirror {
125 include roles::keyring_debian_org_mirror
128 if has_role('popcon') {
129 include roles::popcon