3 $roles = hiera('roles')
5 if $::fqdn in $roles['puppetmaster'] {
9 if getfromhash($site::nodeinfo, 'muninmaster') {
13 if getfromhash($site::nodeinfo, 'nagiosmaster') {
14 # include nagios::server
15 ssl::service { 'nagios.debian.org':
16 notify => Service['apache2'],
20 if getfromhash($site::nodeinfo, 'buildd') {
24 if getfromhash($site::nodeinfo, 'porterbox') {
28 if getfromhash($site::nodeinfo, 'bugs_mirror') {
29 include roles::bugs_mirror
32 if getfromhash($site::nodeinfo, 'ftp_master') {
33 include roles::ftp_master
34 include roles::dakmaster
37 if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
38 include roles::security_mirror
41 if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
42 include roles::www_mirror
45 if getfromhash($site::nodeinfo, 'ftp.d.o') {
49 if getfromhash($site::nodeinfo, 'ftp.upload.d.o') {
50 include roles::ftp_upload
53 if getfromhash($site::nodeinfo, 'security_master') {
54 include roles::security_master
55 include roles::dakmaster
58 if getfromhash($site::nodeinfo, 'www_master') {
59 include roles::www_master
62 if getfromhash($site::nodeinfo, 'keyring') {
63 include roles::keyring
66 if getfromhash($site::nodeinfo, 'wiki') {
70 if getfromhash($site::nodeinfo, 'syncproxy') {
71 include roles::syncproxy
74 if getfromhash($site::nodeinfo, 'static_master') {
75 include roles::static_master
78 if getfromhash($site::nodeinfo, 'static_mirror') {
79 include roles::static_mirror
80 } elsif getfromhash($site::nodeinfo, 'static_source') {
81 include roles::static_source
84 if getfromhash($site::nodeinfo, 'weblog_provider') {
85 include roles::weblog_provider
88 if getfromhash($site::nodeinfo, 'mailrelay') {
89 include roles::mailrelay
92 if getfromhash($site::nodeinfo, 'pubsub') {
96 if getfromhash($site::nodeinfo, 'dbmaster') {
97 ssl::service { 'db.debian.org':
98 notify => Service['apache2'],
102 if $::hostname in [ravel] {
103 include roles::weblog_destination
106 if $::hostname in [vento] {
107 ssl::service { 'vote.debian.org':
108 notify => Service['apache2'],
112 if $::hostname in [soler] {
113 ssl::service { 'security-tracker.debian.org':
114 notify => Service['apache2'],
118 if $::hostname in [bendel] {
119 ssl::service { 'lists.debian.org':
120 notify => Service['apache2'],
124 if $::hostname in [reger] {
125 ssl::service { 'rt.debian.org':
126 notify => Service['apache2'],
130 if $::hostname in [diabelli] {
131 ssl::service { 'sso.debian.org':
132 notify => Service['apache2'],
136 if $::hostname in [ullmann] {
137 ssl::service { 'udd.debian.org':
138 notify => Service['apache2'],
142 if $::hostname in [wuiet] {
143 ssl::service { 'buildd.debian.org':
144 notify => Service['apache2'],
148 if $::hostname in [pejacevic] {
149 ssl::service { 'piuparts.debian.org':
150 notify => Service['apache2'],
154 if $::hostname in [nono] {
155 ssl::service { 'nm.debian.org':
156 notify => Service['apache2'],
158 ssl::service { 'contributors.debian.org':
159 notify => Service['apache2'],