From: Peter Palfrader Date: Mon, 10 Feb 2014 21:20:41 +0000 (+0100) Subject: Install cert on packages hosts X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=aed1006426e13601110ba7b49c846ac335745300;p=mirror%2Fdsa-puppet.git Install cert on packages hosts --- diff --git a/hieradata/common.yaml b/hieradata/common.yaml index 8059c5d18..a87928451 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -51,6 +51,9 @@ roles: - tchaikovsky.debian.org nm: - nono.debian.org + packages: + - picconi.debian.org + - pkgmirror-1and1.debian.org packagesmaster: - picconi.debian.org packagesqamaster: diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 0a5da93ff..8d81dd113 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -167,4 +167,10 @@ class roles { if has_role('postgres_backup_server') { include postgres::backup_server } + + if has_role('packages') { + ssl::service { 'packages.debian.org': + notify => Service['apache2'], + } + } }