X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fstatic_mirror.pp;h=fca65b443dbbf2b26adb10b0174234aac00478da;hb=18066df35f30b2cdb36d12ad84e9f1a5f911c7d4;hp=5962bf512f8babc2f8d4a8f1f286d2dfdd312a4b;hpb=7080ac15a6d1fb49c16944aad38e2c6567ab5ed1;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index 5962bf512..fca65b443 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -31,6 +31,10 @@ class roles::static_mirror { klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80', default => '*:80', } + $vhost_listen_443 = $::hostname ? { + klecker => '130.89.148.14:443 [2001:610:1908:b000::148:14]:443', + default => '*:443', + } apache2::config { 'local-static-vhost.conf': content => template('roles/static-mirroring/static-vhost.conf.erb'), @@ -55,4 +59,7 @@ class roles::static_mirror { ssl::service { 'dsa.debian.org': notify => Service['apache2'], } + ssl::service { 'www.debian.org': + notify => Service['apache2'], + } }