From 7405e1a059a6df01cbac24653d155f2cffa77928 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 17 Jun 2013 18:11:54 +0200 Subject: [PATCH] Add MongoDB to Jenkins nodes This is going to be needed by Ceilometer for unit testing. Change-Id: Id353e7e3a829491bfb718f3c663054dc1430fcd6 Signed-off-by: Julien Danjou Reviewed-on: https://review.openstack.org/33298 Reviewed-by: Clark Boylan Reviewed-by: James E. Blair Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- 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 ef4d408d5a..58e2e117c3 100644 --- a/modules/jenkins/manifests/params.pp +++ b/modules/jenkins/manifests/params.pp @@ -32,6 +32,8 @@ class jenkins::params { $libxslt_dev_package = 'libxslt-devel' # FIXME: No Maven packages on RHEL #$maven_package = 'maven' + # For Ceilometer unit tests + $mongodb_package = 'mongodb-server' $pandoc_package = 'pandoc' $pkgconfig_package = 'pkgconfig' $pyflakes_package = 'pyflakes' @@ -75,6 +77,8 @@ class jenkins::params { $libxml2_dev_package = 'libxml2-dev' $libxslt_dev_package = 'libxslt1-dev' $maven_package = 'maven2' + # For Ceilometer unit tests + $mongodb_package = 'mongodb' $pandoc_package = 'pandoc' $pkgconfig_package = 'pkg-config' $pyflakes_package = 'pyflakes' diff --git a/modules/jenkins/manifests/slave.pp b/modules/jenkins/manifests/slave.pp index f1e221e0f4..9f0a69206b 100644 --- a/modules/jenkins/manifests/slave.pp +++ b/modules/jenkins/manifests/slave.pp @@ -38,6 +38,7 @@ class jenkins::slave( $::jenkins::params::libcurl_dev_package, $::jenkins::params::ldap_dev_package, $::jenkins::params::libsasl_dev, # for keystone ldap auth integration + $::jenkins::params::mongodb_package, # for ceilometer unit tests $::jenkins::params::mysql_dev_package, $::jenkins::params::nspr_dev_package, # for spidermonkey, used by ceilometer $::jenkins::params::sqlite_dev_package,