Run pip install to install the dependencies
Id2e8590193fbf21a52a767323a77df9be4048b5a requires gerrit-dash-creator to be installed on the host where reviewday runs. This patch runs pip install to install all the dependencies. Change-Id: I42ea25bdf69a1d75db24785db0e86396206fd48d
This commit is contained in:
parent
5796e7f8bd
commit
396d6b1c59
|
@ -15,13 +15,11 @@
|
|||
# Class: reviewday
|
||||
#
|
||||
class reviewday {
|
||||
if ! defined(Package['python-launchpadlib']) {
|
||||
package { 'python-launchpadlib':
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
package { 'python-cheetah':
|
||||
ensure => present,
|
||||
|
||||
exec { 'install-reviewday-dependencies':
|
||||
command => 'pip install -r requirements.txt',
|
||||
path => '/var/lib/reviewday',
|
||||
require => Class['pip'],
|
||||
}
|
||||
|
||||
file {'/var/lib/reviewday':
|
||||
|
|
Loading…
Reference in New Issue