Alexandros Kosiaris has submitted this change and it was merged.

Change subject: contint: on slave labs, install tox from pip
......................................................................


contint: on slave labs, install tox from pip

Puppet supports fetching packages from the python pip repository. The
version of tox in Ubuntu Precise is way too old and backporting the
packages requires to bring a lot of python dependencies.

The contint::packages::labs is harnessed to prevent its usage on
production servers.  ensure => present to prevent puppet from spamming
pip as well as unwanted upgrades.

bug: 44443
Change-Id: I714424de4e6c615a7189681efe404d1476a3c3a2
---
M modules/contint/manifests/packages/labs.pp
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  Alexandros Kosiaris: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/contint/manifests/packages/labs.pp 
b/modules/contint/manifests/packages/labs.pp
index dca7f31..d5382a5 100644
--- a/modules/contint/manifests/packages/labs.pp
+++ b/modules/contint/manifests/packages/labs.pp
@@ -25,4 +25,13 @@
         ]: ensure => present,
     }
 
+    # Bring tox/virtualenv... from pip  bug 44443
+    # TODO: Reevaluate this once we switch to trusty. Maybe provider being apt
+    # would be better then
+    package { 'tox':
+        ensure   => present,
+        provider => 'pip',
+        require  => Package['python-pip'],
+    }
+
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I714424de4e6c615a7189681efe404d1476a3c3a2
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Diederik <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Mark Bergsma <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Milimetric <[email protected]>
Gerrit-Reviewer: Nuria <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to