Update Github request closer script to v3 of API.

Fixes bug #1012310

Github disabled v1 and v2 of their API permanently, forcing us to
update the script that closes Github pull requests to v3 of the API.
Update the script using the PyGithub lib.

Change-Id: I90c9faacdb7a72a470b8ad6aaea674edd9b8329e
This commit is contained in:
Clark Boylan
2012-06-13 10:10:30 -07:00
parent bf7a3fcf24
commit b9ebb81800
2 changed files with 18 additions and 9 deletions

View File

@@ -124,7 +124,7 @@ class gerrit($virtual_hostname='',
require => Package[python-dev]
}
package { "github2":
package { "PyGithub":
ensure => latest, # okay to use latest for pip
provider => pip,
require => Package[python-pip]