3 $roles = hiera('roles')
5 if $::hostname in $roles['puppetmaster'] {
9 if getfromhash($site::nodeinfo, 'muninmaster') {
13 #if getfromhash($site::nodeinfo, 'nagiosmaster') {
14 # include nagios::server
17 if getfromhash($site::nodeinfo, 'buildd') {
21 if getfromhash($site::nodeinfo, 'porterbox') {
25 if getfromhash($site::nodeinfo, 'bugs_mirror') {
26 include roles::bugs_mirror
29 if getfromhash($site::nodeinfo, 'ftp_master') {
30 include roles::ftp_master
31 include roles::dakmaster
34 if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
35 include roles::security_mirror
38 if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
39 include roles::www_mirror
42 if getfromhash($site::nodeinfo, 'ftp.d.o') {
46 if getfromhash($site::nodeinfo, 'ftp.upload.d.o') {
47 include roles::ftp_upload
50 if getfromhash($site::nodeinfo, 'security_master') {
51 include roles::security_master
52 include roles::dakmaster
55 if getfromhash($site::nodeinfo, 'www_master') {
56 include roles::www_master
59 if getfromhash($site::nodeinfo, 'keyring') {
60 include roles::keyring
63 if getfromhash($site::nodeinfo, 'wiki') {
67 if getfromhash($site::nodeinfo, 'syncproxy') {
68 include roles::syncproxy
71 if getfromhash($site::nodeinfo, 'static_master') {
72 include roles::static_master
75 if getfromhash($site::nodeinfo, 'static_mirror') {
76 include roles::static_mirror
77 } elsif getfromhash($site::nodeinfo, 'static_source') {
78 include roles::static_source
81 if getfromhash($site::nodeinfo, 'weblog_provider') {
82 include roles::weblog_provider
85 if getfromhash($site::nodeinfo, 'mailrelay') {
86 include roles::mailrelay
89 if getfromhash($site::nodeinfo, 'pubsub') {
93 if $::hostname in [ravel] {
94 include roles::weblog_destination
97 if $::hostname in [vento] {
98 ssl::service { 'vote.debian.org':
99 notify => Service['apache2'],
103 if $::hostname in [soler] {
104 ssl::service { 'security-tracker.debian.org':
105 notify => Service['apache2'],
109 if $::hostname in [bendel] {
110 ssl::service { 'lists.debian.org':
111 notify => Service['apache2'],
115 if $::hostname in [reger] {
116 ssl::service { 'rt.debian.org':
117 notify => Service['apache2'],
121 if $::hostname in [diabelli] {
122 ssl::service { 'sso.debian.org':
123 notify => Service['apache2'],
127 if $::hostname in [ullmann] {
128 ssl::service { 'udd.debian.org':
129 notify => Service['apache2'],
133 if $::hostname in [wuiet] {
134 ssl::service { 'buildd.debian.org':
135 notify => Service['apache2'],
139 if $::hostname in [pejacevic] {
140 ssl::service { 'piuparts.debian.org':
141 notify => Service['apache2'],
145 if $::hostname in [nono] {
146 ssl::service { 'nm.debian.org':
147 notify => Service['apache2'],
149 ssl::service { 'contributors.debian.org':
150 notify => Service['apache2'],