summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-04-13 14:44:40 +0200
committerLeif Johansson <leifj@sunet.se>2015-04-13 14:44:40 +0200
commitfcc750162bc321202392e3f644026b91b4dd08d1 (patch)
tree953d7997590121fe1c6df0f77200318c87944f80 /global/overlay/etc/puppet
parenta2f362a0b87c034b3284a37453488c59fdd78837 (diff)
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r--global/overlay/etc/puppet/cosmos-rules.yaml2
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp5
2 files changed, 7 insertions, 0 deletions
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': }
}