From c89ca6c47a90282b24c62264fa2069bcff308991 Mon Sep 17 00:00:00 2001 From: reachableceo Date: Fri, 4 Sep 2026 09:01:04 -0500 Subject: [PATCH] docs(hooks): CHANGE GATE message points at mglpi [#767] CR filing one-liner now the Go connector (mopac-glpi-go) instead of the deprecated bash shim. Functional gate re-verified after edit. https://projects.knownelement.com/issues/767#note-4191 --- hooks/ticket-gate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hooks/ticket-gate.sh b/hooks/ticket-gate.sh index 123fa35..47cd295 100755 --- a/hooks/ticket-gate.sh +++ b/hooks/ticket-gate.sh @@ -89,8 +89,8 @@ fi # remote operations additionally require a filed GLPI Change — its id in # .crush/active-cr (clear when the CR is closed: > .crush/active-cr) # Dev-lane targets are exempt (sectestbed/preprod/test/sandbox = Tier 0/1). -# File a CR in one line (tooling lives in KNEL/inventory): -# echo "why/what/where" | scripts/glpi-change.sh create --agent --title "[#NNN] summary" +# File a CR in one line (mglpi = KNEL connector mopac-glpi-go; agent identity): +# echo "why/what/where" | mglpi --config ~/.creds/mglpi-agent.env change create --title "[#NNN] summary" --content - if [ "$TOOL" = "bash" ]; then case "$CMD" in *"remote.sh vm-file"*|*"remote.sh prox-file"*|*"remote.sh vm-copy"*|*"remote.sh prox-copy"*|*"remote.sh vm"*|*"remote.sh prox"*|*"remote-dns.sh "*) @@ -111,7 +111,7 @@ CHANGE GATE: prod-target remote operation requires a filed GLPI Change. File one, then set its id (Tier 2 of the t/325 escalation ladder): - echo "what/why/where" | scripts/glpi-change.sh create --agent --title "[#NNN] summary" + echo "what/why/where" | mglpi --config ~/.creds/mglpi-agent.env change create --title "[#NNN] summary" --content - echo '' > .crush/active-cr Dev-lane targets (sectestbed/preprod/test/tsys5) are exempt.