diff --git a/hooks/global/ticket-gate.sh b/hooks/global/ticket-gate.sh index 9e9bc2b..ae8580b 100755 --- a/hooks/global/ticket-gate.sh +++ b/hooks/global/ticket-gate.sh @@ -78,7 +78,7 @@ if [ "$TOOL" = "bash" ]; then printf '{"context":"Active CR: %s"}\n' "$(tr -d '\n' < "$CR_FILE")" else cat >&2 <<'EOF' -{"error":{"message":"CHANGE GATE: prod-target remote operation requires a filed GLPI Change. File one: echo 'what/why/where' | scripts/glpi-change.sh create --agent --title '[#NNN] summary' — then: echo '' > .crush/active-cr. Dev-lane targets (sectestbed/preprod/test/tsys5) are exempt. Clear with: > .crush/active-cr"}} +{"error":{"message":"CHANGE GATE: prod-target remote operation requires a filed GLPI Change. File one: echo 'what/why/where' | mglpi --config ~/.creds/mglpi-agent.env change create --title '[#NNN] summary' --content - — then: echo '' > .crush/active-cr. Dev-lane targets (sectestbed/preprod/test/tsys5) are exempt. Clear with: > .crush/active-cr"}} EOF exit 2 fi