Skip to content

Commit

Permalink
fix: fixing the onlyi_prc condition
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh-jain-ghp committed Dec 18, 2024
1 parent d6a0be3 commit 483ff4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/container.pp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@

$onlyif_prc = @("END"/L)
test $(podman container inspect --format json ${container_name} |\
${_ruby} -rjson -e 'puts (JSON.parse(STDIN.read))[0]["State"]["Running"]') =
${_ruby} -rjson -e 'puts (JSON.parse(STDIN.read))[0]["State"]["Running"]') = true
| END

# Try to stop the container service, then the container directly
Expand Down

0 comments on commit 483ff4a

Please sign in to comment.