eac3f5ba8b
* modules/pip/manifests/init.pp: Fedora installs /usr/bin/pip and thus doesn't need a symlink there like CentOS and RHEL do. Change-Id: I2da3d5ed11db94da3ee2c3c7cae96c76e124dbd5 Reviewed-on: https://review.openstack.org/34081 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
25 lines
423 B
Puppet
25 lines
423 B
Puppet
# Class: pip
|
|
#
|
|
class pip {
|
|
include pip::params
|
|
|
|
package { $::pip::params::python_devel_package:
|
|
ensure => present,
|
|
}
|
|
|
|
package { $::pip::params::python_pip_package:
|
|
ensure => present,
|
|
require => Package[$::pip::params::python_devel_package]
|
|
}
|
|
|
|
if ($::operatingsystem in ['CentOS', 'RedHat']) {
|
|
|
|
file { '/usr/bin/pip':
|
|
ensure => 'link',
|
|
target => '/usr/bin/pip-python',
|
|
}
|
|
|
|
}
|
|
|
|
}
|