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:
Dan Bode 2013-02-21 21:55:33 -08:00
parent 2eaff6d2c3
commit 98d305d07f

View File

@ -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' {