Add libjerasure dev packages on workers

Without libjerasure-dev and its declared dependency, libjerasure2,
pyeclib doesn't build extensions needed to support Swift's Python
2.7 unit test jobs. Preinstall this on our job workers.

Change-Id: Ia8ea54a8dc3350d17abc4ff33fe03fd937e0a068
This commit is contained in:
Jeremy Stanley 2015-06-08 21:10:44 +00:00
parent 81a2ee3de2
commit fc8ad0e4ff
2 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,7 @@ class openstack_project::jenkins_params {
$graphviz_package = 'graphviz'
$libcurl_dev_package = 'libcurl-devel'
$ldap_dev_package = 'openldap-devel'
# $libjerasure_dev_package = 'libjerasure-devel' not yet available
$librrd_dev_package = 'rrdtool-devel'
# packages needed by document translation
$gnome_doc_package = 'gnome-doc-utils'
@ -105,6 +106,7 @@ class openstack_project::jenkins_params {
$graphviz_package = 'graphviz'
$libcurl_dev_package = 'libcurl4-gnutls-dev'
$ldap_dev_package = 'libldap2-dev'
$libjerasure_dev_package = 'libjerasure-dev'
$librrd_dev_package = 'librrd-dev'
# packages needed by document translation
$gnome_doc_package = 'gnome-doc-utils'

View File

@ -92,11 +92,15 @@ class openstack_project::thick_slave(
ensure => present,
}
# for pyeclib, used by swift, not available before Trusty
package { $::openstack_project::jenkins_params::libjerasure_dev_package:
ensure => present,
}
# Don't install the Ruby Gems profile script on Trusty
file { '/etc/profile.d/rubygems.sh':
ensure => absent,
}
} else {
file { '/etc/profile.d/rubygems.sh':