From fcc750162bc321202392e3f644026b91b4dd08d1 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 13 Apr 2015 14:44:40 +0200 Subject: backend class --- global/overlay/etc/puppet/cosmos-rules.yaml | 2 ++ global/overlay/etc/puppet/manifests/cosmos-site.pp | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'global/overlay/etc/puppet') diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index 5035639..cea844e 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -50,3 +50,5 @@ www2.eduid.se: webappserver: '^web-f[0-9]+\.sunet\.se$': webfrontend: +'^web-db[0-9]+\.sunet\.se$': + webbackend: diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 2713ea3..3ab6744 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -857,6 +857,11 @@ class webappserver { class { 'webcommon': } } +class webbackend { + class { 'webcommon': } +} + + node 'web-a1.sunet.se' { sunet::wordpress {'www_sunet_se': } } -- cgit v1.1