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