From 232dc42aceae9849d3dc8de63b6c2e1052fb8074 Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Fri, 26 Jan 2024 08:14:46 +0100 Subject: [PATCH] Try an other approach for filtering --- manifests/runner.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/runner.pp b/manifests/runner.pp index 2cbd97d..236f258 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}"]["url"] and $runnerdata["${username}${x}"]["token"] { + if $runnerdata and $runnerdata["${username}${x}"] and 'url' in $runnerdata["${username}${x}"] { notify {"runnercontent${x}": message => $runnerdata["${username}${x}"] }