class roles {
- if $::hostname in hiera('roles::puppetmaster') {
+ $roles = hiera('roles')
+
+ if $::fqdn in $roles['puppetmaster'] {
include puppetmaster
}
include roles::pubsub
}
+ if getfromhash($site::nodeinfo, 'dbmaster') {
+ ssl::service { 'db.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
if $::hostname in [ravel] {
include roles::weblog_destination
}