Elukey has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/368576 )

Change subject: statistics::packages: package 'virtualenv' not available on 
trusty
......................................................................


statistics::packages: package 'virtualenv' not available on trusty

Related to: https://gerrit.wikimedia.org/r/#/c/368461

Change-Id: I14f247f4db49c61c23f8f04914226c3c7308615d
---
M modules/statistics/manifests/packages.pp
1 file changed, 7 insertions(+), 1 deletion(-)

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



diff --git a/modules/statistics/manifests/packages.pp 
b/modules/statistics/manifests/packages.pp
index e4f6911..9921270 100644
--- a/modules/statistics/manifests/packages.pp
+++ b/modules/statistics/manifests/packages.pp
@@ -93,7 +93,7 @@
         'python-matplotlib', # For generating plots of data
         'python-netaddr',
         'python-virtualenv', # T84378
-        'virtualenv',
+
         # Aaron Halfaker (halfak) wants python{,3}-dev environments for module 
oursql
         'python-dev',        # T83316
         'python3-dev',       # T83316
@@ -101,6 +101,12 @@
         'python-pymysql',
     ])
 
+    if os_version('debian >= jessie') {
+        require_package([
+            'virtualenv',
+        ])
+    }
+
     # This is a custom package and currently not available on jessie, don't 
install on jessie for now
     if os_version('ubuntu >= trusty') {
         require_package([

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I14f247f4db49c61c23f8f04914226c3c7308615d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>
Gerrit-Reviewer: Elukey <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to