From 12c4749ad5e20bbbc5ef1cb4887834eb52026b94 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 6 Dec 2013 14:41:23 +0100 Subject: [PATCH] Install ZooKeeper on slaves Change-Id: Id29ede88a579472079877542293592553ebe09d5 --- modules/jenkins/manifests/params.pp | 4 ++++ modules/jenkins/manifests/slave.pp | 1 + 2 files changed, 5 insertions(+) diff --git a/modules/jenkins/manifests/params.pp b/modules/jenkins/manifests/params.pp index dc6c72c121..6694a307c1 100644 --- a/modules/jenkins/manifests/params.pp +++ b/modules/jenkins/manifests/params.pp @@ -49,6 +49,8 @@ class jenkins::params { $unzip_package = 'unzip' $xslt_package = 'libxslt' $xvfb_package = 'xorg-x11-server-Xvfb' + # For Tooz unit tests + $zookeeper_package = 'zookeeper-server' $cgroups_package = 'libcgroup' if ($::operatingsystem == 'Fedora') { $cgroups_tools_package = 'libcgroup-tools' @@ -112,6 +114,8 @@ class jenkins::params { $unzip_package = 'unzip' $xslt_package = 'xsltproc' $xvfb_package = 'xvfb' + # For Tooz unit tests + $zookeeper_package = 'zookeeper' $cgroups_package = 'cgroup-bin' $cgroups_tools_package = '' $cgconfig_require = [ diff --git a/modules/jenkins/manifests/slave.pp b/modules/jenkins/manifests/slave.pp index a08d6ac2c7..2db2036d40 100644 --- a/modules/jenkins/manifests/slave.pp +++ b/modules/jenkins/manifests/slave.pp @@ -61,6 +61,7 @@ class jenkins::slave( $::jenkins::params::unzip_package, $::jenkins::params::xslt_package, # for building openstack docs $::jenkins::params::xvfb_package, # for selenium tests + $::jenkins::params::zookeeper_package, # for tooz unit tests ] if ($bare == false) {