X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Finit.pp;h=7c9aa8590ce161f4888b000e7f2c0036c05a9435;hb=a3f77c5f83d6adeea94753360c26da037a83583d;hp=3e2b57523aec71e978747a78a720c52f15484978;hpb=743685b250a85a9fbc9f30147c30e98168c945ee;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 3e2b57523..7c9aa8590 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') {