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.