X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=fc13165efa65cddc32cefeee3ed91e6c076a024c;hb=ef9f1826ffec6284f4d3c85f562d875d594c8634;hp=6f3997586ce87ba286d4a559008761bee480c32d;hpb=fcf830a1a53cecf56c6ee86231d54c598731b529;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 6f3997586..fc13165ef 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -33,6 +33,10 @@ class roles { include porterbox } + if has_role('archive_master') { + include archive_master + } + if has_role('bugs_mirror') { include roles::bugs_mirror } @@ -45,6 +49,7 @@ class roles { if has_role('bugs_master') { ssl::service { 'bugs-master.debian.org': notify => Service['apache2'], + key => true, } } @@ -59,14 +64,16 @@ class roles { } } - # XXX: turn this into a real role - if getfromhash($site::nodeinfo, 'apache2_security_mirror') { - include roles::security_mirror + if has_role('manpages') { + ssl::service { 'manpages.debian.org': + notify => Service['apache2'], + key => true, + } } # XXX: turn this into a real role - if getfromhash($site::nodeinfo, 'apache2_www_mirror') { - include roles::www_mirror + if getfromhash($site::nodeinfo, 'apache2_security_mirror') { + include roles::security_mirror } if has_role('mirror_debug') { @@ -239,6 +246,7 @@ class roles { if has_role('packages') { ssl::service { 'packages.debian.org': notify => Service['apache2'], + key => true, } } @@ -257,6 +265,8 @@ class roles { if has_role('gobby_debian_org') { ssl::service { 'gobby.debian.org': notify => Service['apache2'], + key => true, + tlsaport => [443, 6523], } }