From: Peter Palfrader Date: Tue, 2 Feb 2016 21:13:04 +0000 (+0100) Subject: Add planet-search role and cert X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=035afc8ec0d9b85c97d1a35a2b6a86fafb910dea;p=mirror%2Fdsa-puppet.git Add planet-search role and cert --- diff --git a/hieradata/common.yaml b/hieradata/common.yaml index 58d43da1f..36e328e70 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -179,3 +179,5 @@ roles: mirror_debug: - klecker.debian.org - mirror-isc.debian.org + planet_search: + - philp.debian.org diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 0dc99bf65..76b82973d 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -284,4 +284,10 @@ class roles { if has_role('debtags') { include roles::debtags } + + if has_role('planet_search') { + ssl::service { 'planet-search.debian.org': + notify => Service['apache2'], + } + } }