Merge "Alter zookeeper params for Fedora."

This commit is contained in:
Jenkins 2014-01-07 04:14:21 +00:00 committed by Gerrit Code Review
commit 9827e74b89
2 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class jenkins::params {
#$zookeeper_package = 'zookeeper-server'
$cgroups_package = 'libcgroup'
if ($::operatingsystem == 'Fedora') {
$zookeeper_package = 'zookeeper'
$cgroups_tools_package = 'libcgroup-tools'
$cgconfig_require = [
Package['cgroups'],

View File

@ -82,6 +82,11 @@ class jenkins::slave(
command => '/usr/bin/yum -y groupinstall "Development tools"',
}
if ($::operatingsystem == 'Fedora') {
package { $::jenkins::params::zookeeper_package:
ensure => present,
}
}
}
'Debian': {