From: Aurelien Jarno Date: Sat, 20 May 2017 11:08:18 +0000 (+0200) Subject: Add hier.d.o to provide historical.packages.d.o X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a6e9ddda8cc6bd47ef8324c92cd9012cf6d6df82;p=mirror%2Fdsa-puppet.git Add hier.d.o to provide historical.packages.d.o Signed-off-by: Aurelien Jarno --- diff --git a/hieradata/common.yaml b/hieradata/common.yaml index bfea18154..60baca652 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -45,6 +45,8 @@ roles: - cgi-grnet-01.debian.org git_master: - adayevskaya.debian.org + historicalpackages: + - hier.debian.org httpredir: - httpredir-bm-01.debian.org - httpredir-csail-01.debian.org diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index b64450dfe..e8e980140 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -244,6 +244,10 @@ class roles { ssl::service { 'packages.debian.org': notify => Exec['service apache2 reload'], key => true, } } + if has_role('historicalpackages') { + ssl::service { 'historical.packages.debian.org': notify => Exec['service apache2 reload'], key => true, } + } + if has_role('qamaster') { ssl::service { 'qa.debian.org': notify => Exec['service apache2 reload'], key => true, } }