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
This commit is contained in:
Jeremy Stanley 2013-06-22 01:35:38 +00:00 committed by Jenkins
parent a93c18659d
commit eac3f5ba8b

View File

@ -12,7 +12,7 @@ class pip {
require => Package[$::pip::params::python_devel_package] require => Package[$::pip::params::python_devel_package]
} }
if ($::osfamily == 'RedHat') { if ($::operatingsystem in ['CentOS', 'RedHat']) {
file { '/usr/bin/pip': file { '/usr/bin/pip':
ensure => 'link', ensure => 'link',