X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=c0b46e2d8e0c15c6537837eed3b9b19e63932a1e;hb=deeab74647d436893c5bf0833e8f2314643d7c17;hp=037e74888971a54af0afe085ff8ffddae4bb6367;hpb=161663512511e5505641707a91456f474d6863ed;p=dsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 037e7488..c0b46e2d 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -53,6 +53,12 @@ class roles { include roles::dakmaster } + if has_role('api.ftp-master') { + ssl::service { 'api.ftp-master.debian.org': + notify => Service['apache2'], + } + } + # XXX: turn this into a real role if getfromhash($site::nodeinfo, 'apache2_security_mirror') { include roles::security_mirror @@ -71,10 +77,20 @@ class roles { include roles::ftp_upload } + if has_role('ssh.upload.d.o') { + include roles::ssh_upload + } + if has_role('git_master') { include roles::git_master } + if has_role('people') { + ssl::service { 'people.debian.org': + notify => Service['apache2'], + } + } + if has_role('security_master') { include roles::security_master include roles::dakmaster @@ -142,6 +158,10 @@ class roles { include roles::lists } + if has_role('list_search') { + include roles::listsearch + } + if has_role('rtmaster') { include roles::rtmaster } @@ -154,6 +174,10 @@ class roles { include roles::sso } + if has_role('sso_rp') { + include roles::sso_rp + } + if has_role('tracker') { include roles::tracker } @@ -162,6 +186,10 @@ class roles { include roles::buildd_master } + if has_role('buildd_ports_master') { + include roles::buildd_ports_master + } + if has_role('piuparts') { include roles::piuparts } @@ -185,6 +213,13 @@ class roles { if has_role('keystone') { include roles::keystone } + if has_role('keystone_rabbitmq') { + include roles::keystone::rabbitmq + } + + if has_role('memcached') { + include roles::memcached + } if has_role('postgres_backup_server') { include postgres::backup_server @@ -196,6 +231,12 @@ class roles { } } + if has_role('qamaster') { + ssl::service { 'qa.debian.org': + notify => Service['apache2'], + } + } + if has_role('packagesqamaster') { ssl::service { 'packages.qa.debian.org': notify => Service['apache2'], @@ -204,7 +245,25 @@ class roles { if has_role('gobby_debian_org') { ssl::service { 'gobby.debian.org': - tlsaport => 0, + notify => Service['apache2'], } } + + if has_role('search_backend') { + include search_backend + } + if has_role('search_frontend') { + include search_frontend + } + + if has_role('dgit_browse') { + include dgit_browse + } + if has_role('dgit_git') { + include dgit_git + } + + if $::hostname in [lw01, lw02, lw03, lw04] { + include snapshot + } }