X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=fc13165efa65cddc32cefeee3ed91e6c076a024c;hb=ef9f1826ffec6284f4d3c85f562d875d594c8634;hp=3227a6e3cdd5252ddbb4a7829684bbc6f2e1ecb3;hpb=d3d734d5c9f64477cf53437e5599a57a0fa36b55;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 3227a6e3c..fc13165ef 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -64,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') { @@ -244,7 +246,7 @@ class roles { if has_role('packages') { ssl::service { 'packages.debian.org': notify => Service['apache2'], - tlsaport => [], + key => true, } } @@ -263,6 +265,8 @@ class roles { if has_role('gobby_debian_org') { ssl::service { 'gobby.debian.org': notify => Service['apache2'], + key => true, + tlsaport => [443, 6523], } }