Pin rake gem to 10.1.1 so it works with ruby 1.8.x
Without this, we get "Error installing puppetlabs_spec_helper: rake requires Ruby version >= 1.9." Change-Id: I81a32380cee1a35a50e1c3baf2e1afcd69b1614f
This commit is contained in:
parent
cd6e2863f9
commit
044ded07b4
@ -167,6 +167,15 @@ class jenkins::slave(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($bare == false) {
|
if ($bare == false) {
|
||||||
|
# pin to a release of rake which works with ruby 1.8.x
|
||||||
|
# before PSH tries to pull in a newer one which isn't
|
||||||
|
package { 'rake':
|
||||||
|
ensure => '10.1.1',
|
||||||
|
provider => gem,
|
||||||
|
before => Package['puppetlabs_spec_helper'],
|
||||||
|
require => Package['rubygems'],
|
||||||
|
}
|
||||||
|
|
||||||
$gem_packages = [
|
$gem_packages = [
|
||||||
'bundler',
|
'bundler',
|
||||||
'puppet-lint',
|
'puppet-lint',
|
||||||
|
Loading…
Reference in New Issue
Block a user