Added ruby 1.9.1 packages
Install ruby 1.9.1 packages to jenkins slaves. Necessary for running OpenStack ChefSpec cookbook tests. Fixes: bug #1178516 Change-Id: Ibb31ea3e24bf837a7b05a8540854410dbc921b72 Reviewed-on: https://review.openstack.org/28820 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
b081333c0b
commit
a4fdffdb66
@ -79,6 +79,9 @@ class jenkins::params {
|
||||
$python_zmq_package = 'python-zmq'
|
||||
$python3_dev_package = 'python3-all-dev'
|
||||
$rubygems_package = 'rubygems'
|
||||
$ruby1_9_1_package = 'ruby1.9.1'
|
||||
$ruby1_9_1_dev_package = 'ruby1.9.1-dev'
|
||||
$ruby_bundler_package = 'ruby-bundler'
|
||||
$sqlite_package = 'sqlite3'
|
||||
$unzip_package = 'unzip'
|
||||
$xslt_package = 'xsltproc'
|
||||
|
@ -90,6 +90,18 @@ class jenkins::slave(
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
package { $::jenkins::params::ruby1_9_1_package:
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
package { $::jenkins::params::ruby1_9_1_dev_package:
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
package { $::jenkins::params::ruby_bundler_package:
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${::osfamily} The 'jenkins' module only supports osfamily Debian or RedHat (slaves only).")
|
||||
|
Loading…
Reference in New Issue
Block a user