summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-09-24 08:25:39 +0200
committerLeif Johansson <leifj@sunet.se>2015-09-24 08:25:39 +0200
commit40714a38deaef016bc92705955dea38b09f87b88 (patch)
tree9dda9d32e855bbae687f5ce5a8976aa9c22d4e99
parente604664cb0e55117fbe9d45a2d98078651376b54 (diff)
don't run docker unless metadata existssunet-ops-2015-09-24-v04
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index b85ccee..38668b9 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -237,7 +237,9 @@ class swamid_static_signer {
user => root,
minute => '*/5'
} ->
- ensure_resource('class', 'sunet::dockerhost', {}) ->
+ class {'ensure-dockerhost':
+ ensure_resource('class', 'sunet::dockerhost', {})
+ } ->
sunet::docker_run {'swamid_mds':
image => 'docker.sunet.se/swamid-mds',
imagetag => 'latest',