From dfcaa2956015f241acc13d4a99b152152010e708 Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Fri, 26 Jan 2024 07:41:49 +0100 Subject: [PATCH] Check if we have secrets we need for runner --- manifests/runner.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/runner.pp b/manifests/runner.pp index 6437b0b..2cbd97d 100644 --- a/manifests/runner.pp +++ b/manifests/runner.pp @@ -98,7 +98,7 @@ class podmanrunner::runner ( unless => "test -f /var/lib/systemd/linger/${username}${x}", } - if $runnerdata["${username}${x}"] { + if $runnerdata["${username}${x}"]["url"] and $runnerdata["${username}${x}"]["token"] { notify {"runnercontent${x}": message => $runnerdata["${username}${x}"] }