X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Froles%2Fmanifests%2Finit.pp;h=2746d54e9de05254c3de3c797394e242b3aca0aa;hb=38c2df6dd66d57f3da2e972d73988f444dd62135;hp=5ec93d16afc8f4acb2137fdc8e4eb58bba949bed;hpb=54af7fae3fbbf1b283a183924adc8596a6e67f50;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 5ec93d16a..2746d54e9 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -30,13 +30,7 @@ class roles { # XXX: turn this into a real role if getfromhash($site::nodeinfo, 'porterbox') { - class {'porterbox': - ensure => present, - } - } else { - class {'porterbox': - ensure => absent, - } + include porterbox } if has_role('bugs_mirror') { @@ -59,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 @@ -154,6 +154,10 @@ class roles { include roles::lists } + if has_role('list_search') { + include roles::listsearch + } + if has_role('rtmaster') { include roles::rtmaster } @@ -226,7 +230,14 @@ 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 + } }