X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fcdimage_search.pp;h=9c1859ceb1d581189809b1044407afbb41602ab3;hb=71a60ee9dcabd1eee84c55092fac7826e4142459;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..9c1859ceb 100644 --- a/modules/roles/manifests/cdimage_search.pp +++ b/modules/roles/manifests/cdimage_search.pp @@ -1,10 +1,14 @@ class roles::cdimage_search { include apache2::proxy_http + include apache2::ssl package { 'debian.org-cdimage-search.debian.org': ensure => installed, } + 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 } }