fix pip installation on redhat
this commit is required for tempest to be installed on Centos 6.3. When pip is installed, it does not setup the bin pip. An additional setup command is required. This commit adds that command and should fix this modules for rhel.
This commit is contained in:
parent
2eaff6d2c3
commit
98d305d07f
@ -52,17 +52,24 @@ class tempest(
|
||||
'python-unittest2',
|
||||
'python-httplib2',
|
||||
'python-paramiko',
|
||||
'python-nose'
|
||||
'python-nose',
|
||||
'python-pip'
|
||||
]:
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
exec { '/usr/bin/pip-python install -U pip':
|
||||
unless => '/usr/bin/which pip',
|
||||
require => Package['python-pip'],
|
||||
}
|
||||
|
||||
package { [
|
||||
'testtools',
|
||||
'testresources',
|
||||
]:
|
||||
ensure => present,
|
||||
provider => 'pip',
|
||||
require => exec['/usr/bin/pip-python install -U pip']
|
||||
}
|
||||
|
||||
if $version_to_test == 'master' {
|
||||
|
Loading…
Reference in New Issue
Block a user