Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/249213
Change subject: contint: install rake on Jessie
......................................................................
contint: install rake on Jessie
On Debian Jessie, neither 'ruby2.1' nor 'ruby' provides the 'rake'
command unlike Ubuntu. The Jenkins job rake-jessie ended up using
'rake2.1'.
Install rake on Jessie so we can change the Jenkins job to use rake. In
case a repository provide it is own rake version we will use it, else
fallback to that system provided rake.
Change-Id: I06f5fb66966e70bbf16fcc1d9d928e063e1e728c
---
M modules/contint/manifests/packages/ruby.pp
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/13/249213/1
diff --git a/modules/contint/manifests/packages/ruby.pp
b/modules/contint/manifests/packages/ruby.pp
index 21b4470..7ef17d2 100644
--- a/modules/contint/manifests/packages/ruby.pp
+++ b/modules/contint/manifests/packages/ruby.pp
@@ -30,6 +30,7 @@
}
}
if os_version('ubuntu >= trusty') {
+ # ruby defaults to 1.9.3 we want 2.0
package { [
'ruby2.0',
'ruby2.0-dev',
@@ -41,6 +42,8 @@
package { [
'ruby2.1',
'ruby2.1-dev',
+ # Unlike Ubuntu, Jessie ruby2.1 ships rake2.1, not rake
+ 'rake',
'bundler',
]: ensure => present,
}
--
To view, visit https://gerrit.wikimedia.org/r/249213
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I06f5fb66966e70bbf16fcc1d9d928e063e1e728c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits