Check if we have secrets we need for runner

This commit is contained in:
Magnus Andersson 2024-01-26 07:41:49 +01:00
parent ec910a572f
commit dfcaa29560
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}",
}
if $runnerdata["${username}${x}"] {
if $runnerdata["${username}${x}"]["url"] and $runnerdata["${username}${x}"]["token"] {
notify {"runnercontent${x}":
message => $runnerdata["${username}${x}"]
}