X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fcdimage_search.pp;h=69269eef475a640526ce15e6524260bcdf980930;hb=8532689c735ba87e8c00161224e068c2ba06f640;hp=162edcfe7ba30e6581b82d788f4c3cfad036cec4;hpb=bbf9d9d9795e5f5ff5523c1d67b04e9fb2268194;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/cdimage_search.pp b/modules/roles/manifests/cdimage_search.pp index 162edcfe7..69269eef4 100644 --- a/modules/roles/manifests/cdimage_search.pp +++ b/modules/roles/manifests/cdimage_search.pp @@ -1,10 +1,15 @@ class roles::cdimage_search { - include apache2::proxy_http + include apache2 + include apache2::proxy_http + include apache2::ssl - package { 'debian.org-cdimage-search.debian.org': ensure => installed, } + package { 'debian.org-cdimage-search.debian.org': ensure => installed, } - apache2::site { '010-cdimage-search.debian.org': - site => 'cdimage-search.debian.org', - content => template('roles/apache-cdimage-search.debian.org.conf.erb') - } + ssl::service { 'cdimage-search.debian.org': notify => Exec['service apache2 reload'], key => true, } + apache2::site { '010-cdimage-search.debian.org': + site => 'cdimage-search.debian.org', + content => template('roles/apache-cdimage-search.debian.org.conf.erb') + } + + onion::service { 'cdimage-search.debian.org': port => 80, target_address => 'cdimage-search.debian.org', target_port => 80, direct => true } }