system-config/modules/pip/manifests/init.pp
Jeremy Stanley eac3f5ba8b Don't symlink pip on Fedora.
* 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
2013-06-25 21:40:18 +00:00

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',
}
}
}