From d6c35419e1e72d45c6ccaea0fb213cea9a234e55 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 24 Sep 2015 08:27:07 +0200 Subject: don't run docker unless metadata exists --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'global') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 38668b9..232b1b3 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -230,6 +230,7 @@ class swamid_metadata { } class swamid_static_signer { + ensure_resource('class', 'sunet::dockerhost', {}) class { 'swamid_metadata': } -> file { '/opt/published-metadata': ensure => directory } -> cron { 'publish-swamid-metadata': @@ -237,9 +238,6 @@ class swamid_static_signer { user => root, minute => '*/5' } -> - class {'ensure-dockerhost': - ensure_resource('class', 'sunet::dockerhost', {}) - } -> sunet::docker_run {'swamid_mds': image => 'docker.sunet.se/swamid-mds', imagetag => 'latest', -- cgit v1.1