Try an other approach for filtering

This commit is contained in:
Magnus Andersson 2024-01-26 08:14:46 +01:00
parent dfcaa29560
commit 232dc42ace
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -98,7 +98,7 @@ class podmanrunner::runner (
unless => "test -f /var/lib/systemd/linger/${username}${x}", 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}": notify {"runnercontent${x}":
message => $runnerdata["${username}${x}"] message => $runnerdata["${username}${x}"]
} }