summaryrefslogtreecommitdiff
path: root/global/overlay/etc
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-09-18 09:59:55 +0200
committerLeif Johansson <leifj@sunet.se>2015-09-18 09:59:55 +0200
commit72285b2c4915a1f0ff7d1d3888b341aec97997c6 (patch)
treeab6e334201e0ec7e04ec5d2a0983eb5de3d42eab /global/overlay/etc
parente00dc9426888f85d772724b5a13b2f84d4c7332c (diff)
webcommon calls dockerhostsunet-ops-2015-09-18-v03
Diffstat (limited to 'global/overlay/etc')
-rw-r--r--global/overlay/etc/puppet/cosmos-rules.yaml3
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp4
2 files changed, 3 insertions, 4 deletions
diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml
index 1425dc4..0172675 100644
--- a/global/overlay/etc/puppet/cosmos-rules.yaml
+++ b/global/overlay/etc/puppet/cosmos-rules.yaml
@@ -16,7 +16,6 @@ registry.swamid.se:
dockerhost:
webserver:
datasets.sunet.se:
- sunet::dockerhost:
webserver:
docker.sunet.se:
dockerhost:
@@ -41,7 +40,7 @@ md-master.reep.refeds.org:
www2.eduid.se:
dockerhost:
'^web-.+\.sunet\.se$':
- sunet::dockerhost:
+ webcommon:
'^web-a[0-9]+\.sunet\.se$':
webappserver:
'^web-f[0-9]+\.sunet\.se$':
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 3a19aac..696fdb6 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -824,7 +824,8 @@ class quantis {
}
class webcommon {
- file {"/data": ensure => directory }
+ class {'sunet::dockerhost': } ->
+ file {"/data": ensure => directory } ->
sunet::docker_run{"web_registrator":
image => "gliderlabs/registrator",
imagetag => "latest",
@@ -878,7 +879,6 @@ class webbackend {
}
node 'web-a1.sunet.se' {
- ensure_resource(file,'/data',{ ensure => directory })
sunet::wordpress {'www_sunet_se':
wordpress_image => 'docker.sunet.se/shib-wordpress',
wordpress_version => 'latest',