Hashar has uploaded a new change for review.

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

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, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/36/111536/1

diff --git a/modules/contint/manifests/packages/labs.pp 
b/modules/contint/manifests/packages/labs.pp
index dca7f31..f9a4ba4 100644
--- a/modules/contint/manifests/packages/labs.pp
+++ b/modules/contint/manifests/packages/labs.pp
@@ -25,4 +25,11 @@
         ]: ensure => present,
     }
 
+    # Bring tox/virtualenv... from pip  bug 44443
+    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: newchange
Gerrit-Change-Id: I714424de4e6c615a7189681efe404d1476a3c3a2
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

Reply via email to