From: Peter Palfrader Date: Fri, 19 Jul 2019 09:55:53 +0000 (+0200) Subject: Move veyepar and sreview into own manifests X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f941acf9c73167a6ac67fcacb1984d20c6f9930f;p=mirror%2Fdsa-puppet.git Move veyepar and sreview into own manifests --- diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 51f9be53d..8bc6aa5b9 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -295,10 +295,10 @@ class roles { } if has_role('veyepar.debian.org') { - ssl::service { 'veyepar.debian.org': notify => Exec['service apache2 reload'], key => true, } + include roles::veyepar } if has_role('sreview.debian.org') { - ssl::service { 'sreview.debian.net': notify => Exec['service apache2 reload'], key => true, } + include roles::sreview } if has_role('debtags') { diff --git a/modules/roles/manifests/sreview.pp b/modules/roles/manifests/sreview.pp new file mode 100644 index 000000000..9a7afd0c6 --- /dev/null +++ b/modules/roles/manifests/sreview.pp @@ -0,0 +1,3 @@ +class roles::sreview { + ssl::service { 'sreview.debian.org': notify => Exec['service apache2 reload'], key => true, } +} diff --git a/modules/roles/manifests/veyepar.pp b/modules/roles/manifests/veyepar.pp new file mode 100644 index 000000000..a60247551 --- /dev/null +++ b/modules/roles/manifests/veyepar.pp @@ -0,0 +1,3 @@ +class roles::veyepar { + ssl::service { 'veyepar.debian.org': notify => Exec['service apache2 reload'], key => true, } +}