X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=38572402d4812b2ccb0d51d1214d7f41d513c000;hb=09a4b91b3afe4bc9a768731b99dc057422117d5f;hp=7ff4457af629f25c1ba2dbc9af4a4d0a0e6be860;hpb=eb86cec8a0737b9d471c0df4221694c68319597e;p=dsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 7ff4457a..38572402 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -1,6 +1,6 @@ class roles { - if getfromhash($site::nodeinfo, 'puppetmaster') { + if $::hostname in hiera('roles::puppetmaster') { include puppetmaster } @@ -16,6 +16,10 @@ class roles { include buildd } + if getfromhash($site::nodeinfo, 'porterbox') { + include porterbox + } + if getfromhash($site::nodeinfo, 'bugs_mirror') { include roles::bugs_mirror } @@ -54,8 +58,12 @@ class roles { include roles::keyring } - if getfromhash($site::nodeinfo, 'apache2_ftp-upcoming_mirror') { - include roles::ftp-upcoming_mirror + if getfromhash($site::nodeinfo, 'wiki') { + include roles::wiki + } + + if getfromhash($site::nodeinfo, 'syncproxy') { + include roles::syncproxy } if getfromhash($site::nodeinfo, 'static_master') { @@ -71,7 +79,73 @@ class roles { if getfromhash($site::nodeinfo, 'weblog_provider') { include roles::weblog_provider } + + if getfromhash($site::nodeinfo, 'mailrelay') { + include roles::mailrelay + } + + if getfromhash($site::nodeinfo, 'pubsub') { + include roles::pubsub + } + 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 [bendel] { + ssl::service { 'lists.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 [nono] { + ssl::service { 'nm.debian.org': + notify => Service['apache2'], + } + ssl::service { 'contributors.debian.org': + notify => Service['apache2'], + } + } }