Index: modules/adblockplus/manifests/legacy.pp |
diff --git a/modules/adblockplus/manifests/legacy.pp b/modules/adblockplus/manifests/legacy.pp |
index d51bc253e0a5bdea86b052a42ac6867c1d43752d..5d418b7acd88c6677f88bdd5686e1fafea17eb1d 100644 |
--- a/modules/adblockplus/manifests/legacy.pp |
+++ b/modules/adblockplus/manifests/legacy.pp |
@@ -16,4 +16,27 @@ class adblockplus::legacy { |
force => true, |
recurse => true, |
} |
+ |
+ # http://hub.eyeo.com/issues/11294#note-3 |
+ if $::lsbdistcodename == 'jessie' { |
+ |
+ # https://stackoverflow.com/questions/27341064/ |
+ package {'python-pip': |
+ ensure => 'absent', |
+ name => 'python-pip', |
+ } |
+ |
+ # http://setuptools.readthedocs.io/en/latest/easy_install.html |
+ package {'python-setuptools': |
+ before => Package['python-pip'], |
+ ensure => 'present', |
+ } |
+ |
+ # https://github.com/pypa/pip/issues/5247 |
+ exec {'/usr/bin/easy_install pip==9.0.3': |
+ before => Package['python-pip'], |
+ creates => '/usr/local/bin/pip', |
+ require => Package['python-setuptools'], |
+ } |
+ } |
} |