wait a bit before update

This commit is contained in:
Leif Johansson 2019-06-14 09:45:33 +02:00
parent b14775d90f
commit f1f29b44bf

View file

@ -400,10 +400,12 @@ class eidastest($version="1.0.0", $hostname="locahost") {
content => inline_template("<%= @compose.to_yaml %>\n")
} ->
exec { 'launch_test_prod':
command => "wget --no-check-certificate -qO- https://localhost/testid/prod/execution-interval/7"
command => "sleep 60 && wget --no-check-certificate -qO- https://localhost/testid/prod/execution-interval/7",
refreshonly => true
} ->
exec { 'launch_test_qa':
command => "wget --no-check-certificate -qO- https://localhost/testid/qa/execution-interval/27"
command => "sleep 60 && wget --no-check-certificate -qO- https://localhost/testid/qa/execution-interval/17",
refreshonly => true
}
ensure_resource('class','webserver',{})
ensure_resource('class','https_server',{})