ae3dfe4d95
The install scripts now look for CentOS in release files. Also some instances of facter's operatingsystem are switched to osfamily and capitalization of RedHat is normalized to match what facter uses. Change-Id: I3bbca5481d0d5e6de9e62bfd6e2b0a85264ed6ed Reviewed-on: https://review.openstack.org/27398 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
25 lines
404 B
Puppet
25 lines
404 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 ($::osfamily == 'RedHat') {
|
|
|
|
file { '/usr/bin/pip':
|
|
ensure => 'link',
|
|
target => '/usr/bin/pip-python',
|
|
}
|
|
|
|
}
|
|
|
|
}
|