From fcf830a1a53cecf56c6ee86231d54c598731b529 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 7 Feb 2016 15:20:52 +0100 Subject: [PATCH] Add {pet,pet-devel} cert for petrova --- hieradata/common.yaml | 2 ++ modules/roles/manifests/init.pp | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/hieradata/common.yaml b/hieradata/common.yaml index 78bdaa1a1..fafbeca5c 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -190,3 +190,5 @@ roles: - tye.debian.org dedup.d.n: - delfin.debian.org + pet.d.n: + - petrova.debian.org diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 0ed5f4259..6f3997586 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -319,4 +319,15 @@ class roles { key => true, } } + + if has_role('pet.d.n') { + ssl::service { 'pet.debian.net': + notify => Service['apache2'], + key => true, + } + ssl::service { 'pet-devel.debian.net': + notify => Service['apache2'], + key => true, + } + } } -- 2.20.1