Add the luanchpadlib OS package to review-dev.o.o

review-dev.o.o fails to update launchpad blueprints, issues, etc.
because it's missing the launchpadlib package.

Error in the Gerrit logs:

 Traceback (most recent call last):
   File "/usr/local/bin/update-bug", line 6, in <module>
     from jeepyb.cmd.update_bug import main
   File "/usr/local/lib/python2.7/dist-packages/jeepyb/cmd/update_bug.py",
     line 25, in <module>
 hook[change-merged] output:     from launchpadlib import launchpad
 hook[change-merged] output: ImportError: No module named launchpadlib

Change-Id: I94abd2928729cd59227b077578447d63464b2797
This commit is contained in:
Khai Do 2015-02-10 10:52:55 -08:00
parent 894b4c822d
commit 65ffac0b41

View File

@ -104,6 +104,9 @@ class openstack_project::review_dev (
version => 'e00d5af',
}
package { 'python-launchpadlib':
ensure => present,
}
file { '/home/gerrit2/.launchpadlib':
ensure => directory,
owner => 'gerrit2',