From 21f82d7fe5d50ea5b031590fa0692ddb7e517870 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 1 Jul 2019 08:50:59 +0200 Subject: [PATCH] attempt new sleep pattern --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 25f8b508..56b647ab 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -399,13 +399,12 @@ class eidastest($version="1.0.0", $hostname="locahost") { compose_dir => "${home}", content => inline_template("<%= @compose.to_yaml %>\n") } -> + exec { 'wait': command => 'sleep 10' } -> exec { 'launch_test_prod': - command => "sleep 60 && wget --no-check-certificate -qO- https://localhost/testid/prod/execution-interval/7", - refreshonly => true + command => "wget --no-check-certificate -qO- https://localhost/testid/prod/execution-interval/7", } -> exec { 'launch_test_qa': - command => "sleep 60 && wget --no-check-certificate -qO- https://localhost/testid/qa/execution-interval/17", - refreshonly => true + command => "wget --no-check-certificate -qO- https://localhost/testid/qa/execution-interval/17", } ensure_resource('class','webserver',{}) ensure_resource('class','https_server',{})