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
36 if has_role('security_mirror') {
37 include roles::security_mirror
40 if has_role('postgres_backup_server') {
41 include postgres::backup_server
44 if $::hostname in [lw01, lw02, lw03, lw04, lw09, lw10] {
45 include roles::snapshot
48 if has_role('ports_master') {
49 include roles::ports_master
56 if has_role('postgresql_server') {
57 include postgres::backup_source
60 if $::keyring_debian_org_mirror {
61 include roles::keyring_debian_org_mirror