From 40714a38deaef016bc92705955dea38b09f87b88 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 24 Sep 2015 08:25:39 +0200 Subject: don't run docker unless metadata exists --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'global/overlay') 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', -- cgit v1.1