From a6e9ddda8cc6bd47ef8324c92cd9012cf6d6df82 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sat, 20 May 2017 13:08:18 +0200 Subject: [PATCH] Add hier.d.o to provide historical.packages.d.o Signed-off-by: Aurelien Jarno --- hieradata/common.yaml | 2 ++ modules/roles/manifests/init.pp | 4 ++++ 2 files changed, 6 insertions(+) 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, } } -- 2.20.1