class roles {
- if getfromhash($site::nodeinfo, 'puppetmaster') {
+ $roles = hiera('roles')
+
+ if $::fqdn in $roles['puppetmaster'] {
include puppetmaster
}
include munin::master
}
- #if getfromhash($site::nodeinfo, 'nagiosmaster') {
+ if getfromhash($site::nodeinfo, 'nagiosmaster') {
# include nagios::server
- #}
+ ssl::service { 'nagios.debian.org':
+ notify => Service['apache2'],
+ }
+ }
if getfromhash($site::nodeinfo, 'buildd') {
include buildd
- ssl::service { 'buildd.debian.org':
- notify => Service['apache2'],
- }
}
if getfromhash($site::nodeinfo, 'porterbox') {
include roles::pubsub
}
+ if getfromhash($site::nodeinfo, 'dbmaster') {
+ ssl::service { 'db.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
+ if getfromhash($site::nodeinfo, 'dns_primary') {
+ include named::primary
+ }
+ if getfromhash($site::nodeinfo, 'dns_secondary') {
+ include named::authoritative
+ }
+
if $::hostname in [ravel] {
include roles::weblog_destination
}
+ if $::hostname in [vento] {
+ ssl::service { 'vote.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
if $::hostname in [soler] {
ssl::service { 'security-tracker.debian.org':
notify => Service['apache2'],
}
}
+ if $::hostname in [reger] {
+ ssl::service { 'rt.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
+ if $::hostname in [diabelli] {
+ ssl::service { 'sso.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
if $::hostname in [ullmann] {
ssl::service { 'udd.debian.org':
notify => Service['apache2'],
}
}
+
+ if $::hostname in [wuiet] {
+ ssl::service { 'buildd.debian.org':
+ notify => Service['apache2'],
+ }
+ }
if $::hostname in [pejacevic] {
ssl::service { 'piuparts.debian.org':
notify => Service['apache2'],
}
}
+
+ if $::hostname in [franck] {
+ ssl::service { 'release.debian.org':
+ notify => Service['apache2'],
+ }
+ }
}