Check if we have secrets we need for runner
This commit is contained in:
parent
ec910a572f
commit
dfcaa29560
|
@ -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}"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue