Index: modules/adblockplus/manifests/legacy.pp |
=================================================================== |
--- a/modules/adblockplus/manifests/legacy.pp |
+++ b/modules/adblockplus/manifests/legacy.pp |
@@ -16,4 +16,27 @@ |
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'], |
+ } |
+ } |
} |