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 getfromhash($site::nodeinfo, 'dns_primary') {
103 include named::primary
105 if getfromhash($site::nodeinfo, 'dns_secondary') {
106 include named::authoritative
109 if $::hostname in [ravel] {
110 include roles::weblog_destination
113 if $::hostname in [vento] {
114 ssl::service { 'vote.debian.org':
115 notify => Service['apache2'],
119 if $::hostname in [soler] {
120 ssl::service { 'security-tracker.debian.org':
121 notify => Service['apache2'],
125 if $::hostname in [bendel] {
126 ssl::service { 'lists.debian.org':
127 notify => Service['apache2'],
131 if $::hostname in [reger] {
132 ssl::service { 'rt.debian.org':
133 notify => Service['apache2'],
137 if $::hostname in [diabelli] {
138 ssl::service { 'sso.debian.org':
139 notify => Service['apache2'],
143 if $::hostname in [ullmann] {
144 ssl::service { 'udd.debian.org':
145 notify => Service['apache2'],
149 if $::hostname in [wuiet] {
150 ssl::service { 'buildd.debian.org':
151 notify => Service['apache2'],
155 if $::hostname in [pejacevic] {
156 ssl::service { 'piuparts.debian.org':
157 notify => Service['apache2'],
161 if $::hostname in [nono] {
162 ssl::service { 'nm.debian.org':
163 notify => Service['apache2'],
165 ssl::service { 'contributors.debian.org':
166 notify => Service['apache2'],
170 if $::hostname in [franck] {
171 ssl::service { 'release.debian.org':
172 notify => Service['apache2'],