From eac3f5ba8b91eb2864c4b31b08d44bf2fb3ccdc6 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 22 Jun 2013 01:35:38 +0000 Subject: [PATCH] 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 Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- modules/pip/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pip/manifests/init.pp b/modules/pip/manifests/init.pp index 7103de0157..45a2170548 100644 --- a/modules/pip/manifests/init.pp +++ b/modules/pip/manifests/init.pp @@ -12,7 +12,7 @@ class pip { require => Package[$::pip::params::python_devel_package] } - if ($::osfamily == 'RedHat') { + if ($::operatingsystem in ['CentOS', 'RedHat']) { file { '/usr/bin/pip': ensure => 'link',