docs(hooks): CHANGE GATE message points at mglpi [#767]

Same as PFVCluster a024b78 follow-up: CR one-liner is the Go connector now.

https://projects.knownelement.com/issues/767#note-4191
This commit is contained in:
2026-09-04 09:02:36 -05:00
parent e7ed31b4e1
commit 6783f377d6
+1 -1
View File
@@ -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 '<change-id>' > .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 '<change-id>' > .crush/active-cr. Dev-lane targets (sectestbed/preprod/test/tsys5) are exempt. Clear with: > .crush/active-cr"}}
EOF
exit 2
fi