From f14a5d9684bb2503306ce4db814e193be5af22d9 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 15 Apr 2016 19:58:56 +0200 Subject: [PATCH] Add manpages --- hieradata/common.yaml | 3 +++ modules/roles/manifests/init.pp | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/hieradata/common.yaml b/hieradata/common.yaml index 2561d8eb1..42232e148 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -67,6 +67,9 @@ roles: mailrelay: - mailly.debian.org - muffat.debian.org + manpages: + - glinka.debian.org + - manziarly.debian.org muninmaster: - menotti.debian.org nagiosmaster: diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 9fd39f98e..168b6f294 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -64,6 +64,12 @@ class roles { } } + if has_role('manpages') { + ssl::service { 'manpages.debian.org': + notify => Service['apache2'], + } + } + # XXX: turn this into a real role if getfromhash($site::nodeinfo, 'apache2_security_mirror') { include roles::security_mirror -- 2.20.1