82936cd43e
This reverts commit d1b79539c4
.
This commit was breaking devstack-gate for stable/grizzly changes.
Change-Id: I6b138d7ed5f8ad0362801b569dd46834d41b4cf7
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',
|
|
}
|
|
|
|
}
|
|
|
|
}
|