Jenkins slave puppetry for CentOS.
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
This commit is contained in:
parent
2a7c4b3d83
commit
94496f8434
|
@ -12,7 +12,7 @@ class pip {
|
|||
require => Package[$::pip::params::python_devel_package]
|
||||
}
|
||||
|
||||
if ($::operatingsystem == 'Redhat' or $::operatingsystem == 'Fedora') {
|
||||
if ($::osfamily == 'RedHat') {
|
||||
|
||||
file { '/usr/bin/pip':
|
||||
ensure => 'link',
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# accessed by other classes.
|
||||
class pip::params {
|
||||
case $::osfamily {
|
||||
'Fedora', 'Redhat': {
|
||||
'RedHat': {
|
||||
$python_devel_package = 'python-devel'
|
||||
$python_pip_package = 'python-pip'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue