From d98c7ae9bee11cdb3073e5310ecba641132e6291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se> Date: Mon, 21 Aug 2023 15:04:34 +0200 Subject: [PATCH] Try to use 'creates' instead of 'refreshonly' for exec in case of build failures. --- manifests/auth.pp | 2 +- manifests/broker.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/auth.pp b/manifests/auth.pp index 6b581ce..81111c8 100644 --- a/manifests/auth.pp +++ b/manifests/auth.pp @@ -144,7 +144,7 @@ class aes::auth ( environment => ["HOME=${auth_home}"], command => "${auth_home}/on_update.sh", require => File["${auth_home}/on_update.sh"], - refreshonly => true, + creates => "${auth_home}/bin/auth", notify => Service[$auth_service], } diff --git a/manifests/broker.pp b/manifests/broker.pp index a4172a3..0bdad4a 100644 --- a/manifests/broker.pp +++ b/manifests/broker.pp @@ -112,7 +112,7 @@ class aes::broker { environment => ["HOME=${broker_home}"], command => "${broker_home}/on_update.sh", require => File["${broker_home}/on_update.sh"], - refreshonly => true, + creates => "${broker_home}/bin/broker", notify => Service[$broker_service], } -- GitLab