summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-09-24 08:24:22 +0200
committerLeif Johansson <leifj@sunet.se>2015-09-24 08:24:22 +0200
commite604664cb0e55117fbe9d45a2d98078651376b54 (patch)
tree4856644561cba4a7a380acacc0bba31860c45143
parenta2977199282ccd335ed485e4694f4f257860fffa (diff)
don't run docker unless metadata existssunet-ops-2015-09-24-v03
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 18b0803..b85ccee 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -236,8 +236,8 @@ class swamid_static_signer {
command => "/opt/swamid-metadata/scripts/update.sh",
user => root,
minute => '*/5'
- }
- ensure_resource('class', 'sunet::dockerhost', {})
+ } ->
+ ensure_resource('class', 'sunet::dockerhost', {}) ->
sunet::docker_run {'swamid_mds':
image => 'docker.sunet.se/swamid-mds',
imagetag => 'latest',