Template
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:
@@ -78,7 +78,7 @@ if [ "$TOOL" = "bash" ]; then
|
|||||||
printf '{"context":"Active CR: %s"}\n' "$(tr -d '\n' < "$CR_FILE")"
|
printf '{"context":"Active CR: %s"}\n' "$(tr -d '\n' < "$CR_FILE")"
|
||||||
else
|
else
|
||||||
cat >&2 <<'EOF'
|
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
|
EOF
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user