X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=8500597b4403f1a6437476e298b6430c2a384c47;hb=7080ac15a6d1fb49c16944aad38e2c6567ab5ed1;hp=ddb299d85bd84989e7e70e6d1876ae98184a2aeb;hpb=e8d79a6157e8a9c453af72e41de7cb7c95bb46ee;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index ddb299d85..8500597b4 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -1,6 +1,8 @@ class roles { - if getfromhash($site::nodeinfo, 'puppetmaster') { + $roles = hiera('roles') + + if $::fqdn in $roles['puppetmaster'] { include puppetmaster } @@ -88,10 +90,22 @@ class roles { include roles::pubsub } + if getfromhash($site::nodeinfo, 'dbmaster') { + ssl::service { 'db.debian.org': + notify => Service['apache2'], + } + } + 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'], @@ -110,6 +124,12 @@ class roles { } } + if $::hostname in [diabelli] { + ssl::service { 'sso.debian.org': + notify => Service['apache2'], + } + } + if $::hostname in [ullmann] { ssl::service { 'udd.debian.org': notify => Service['apache2'],