From 00cfadf488fb3c8dfad38ee168b8686dd310ec8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Rossigneux?= <francois.rossigneux@inria.fr>
Date: Tue, 15 Jan 2013 19:00:59 +0100
Subject: [PATCH] Add third-party library for py-rrdtool, used by kwapi.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I57d789add8e0cdb4ae789b803750bc30eb0f480c
Reviewed-on: https://review.openstack.org/19716
Reviewed-by: François Rossigneux <francois.rossigneux@inria.fr>
Reviewed-by: Julien Danjou <julien@danjou.info>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
---
 modules/jenkins/manifests/params.pp | 2 ++
 modules/jenkins/manifests/slave.pp  | 1 +
 2 files changed, 3 insertions(+)

diff --git a/modules/jenkins/manifests/params.pp b/modules/jenkins/manifests/params.pp
index 8e881af889..a4f7ba8240 100644
--- a/modules/jenkins/manifests/params.pp
+++ b/modules/jenkins/manifests/params.pp
@@ -20,6 +20,7 @@ class jenkins::params {
       $mod_wsgi_package = 'mod_wsgi'
       $libcurl_dev_package = 'libcurl-devel'
       $ldap_dev_package = 'openldap-devel'
+      $librrd_dev_package = 'rrdtool-devel'
       # for keystone ldap auth integration
       $libsasl_dev = 'cyrus-sasl-devel'
       $mysql_dev_package = 'mysql-devel'
@@ -59,6 +60,7 @@ class jenkins::params {
       $mod_wsgi_package = 'libapache2-mod-wsgi'
       $libcurl_dev_package = 'libcurl4-gnutls-dev'
       $ldap_dev_package = 'libldap2-dev'
+      $librrd_dev_package = 'librrd-dev'
       # for keystone ldap auth integration
       $libsasl_dev = 'libsasl2-dev'
       $mysql_dev_package = 'libmysqlclient-dev'
diff --git a/modules/jenkins/manifests/slave.pp b/modules/jenkins/manifests/slave.pp
index b5d96f6fb5..f446da69be 100644
--- a/modules/jenkins/manifests/slave.pp
+++ b/modules/jenkins/manifests/slave.pp
@@ -36,6 +36,7 @@ class jenkins::slave(
     $::jenkins::params::mod_wsgi_package,
     $::jenkins::params::libcurl_dev_package,
     $::jenkins::params::ldap_dev_package,
+    $::jenkins::params::librrd_dev_package, # for py-rrdtool, used by kwapi
     $::jenkins::params::libsasl_dev, # for keystone ldap auth integration
     $::jenkins::params::mysql_dev_package,
     $::jenkins::params::nspr_dev_package, # for spidermonkey, used by ceilometer