Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/152229

Change subject: contint: rubygems is provided by ruby since Trusty
......................................................................

contint: rubygems is provided by ruby since Trusty

On a Trusty labs instance:

 E: Package 'rubygems' has no installation candidate

The package does not exist anymore, gems is shipped by the ruby package.

Change-Id: I32906bc5c7bcab9e8ba35239fb91253225d96606
---
M modules/contint/manifests/browsertests.pp
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/29/152229/1

diff --git a/modules/contint/manifests/browsertests.pp 
b/modules/contint/manifests/browsertests.pp
index bd498fd..05ca313 100644
--- a/modules/contint/manifests/browsertests.pp
+++ b/modules/contint/manifests/browsertests.pp
@@ -15,12 +15,18 @@
     # Dependencies for qa/browsertests.git
     package { [
         'ruby1.9.1-dev', # Bundler compiles gems
-        'rubygems',
         'phantomjs',     # headless browser
     ]:
         ensure => present
     }
 
+    # Ruby gems is provided within ruby since Trusty
+    if ubuntu_version('< trusty') {
+        package { 'rubygems':
+            ensure => present,
+        }
+    }
+
     # Ubuntu Precise version is too old.  Instead use either:
     # /srv/deployment/integration/slave-scripts/tools/bundler/bundle
     # or:

-- 
To view, visit https://gerrit.wikimedia.org/r/152229
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I32906bc5c7bcab9e8ba35239fb91253225d96606
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to