system-config/modules/openstack_project/files/gerrit/change-abandoned
Ricardo Carrillo Cruz 3b0ff58b27 Add change-abandoned hook for gerrit in puppet
Gerrit manifest for review servers was lacking
the change-abandoned hook, even though jeepyb had
already support for notifying LP bug when the linked
review was being abandoned.
This change adds the missing hook to the gerrit manifest
as a file resource.

Closes-Bug: 1319305
Change-Id: I07555bfbfe255239ab1aeaa5d14bcfa807005faf
2014-05-15 18:32:53 +00:00

5 lines
143 B
Bash
Executable File

#!/bin/sh
# Use timeout to kill any process running longer than 10 minutes.
timeout -k 2m 10m /usr/local/bin/update-bug change-abandoned "$@"