Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 # == Class: adblockplus::mercurial::extension::hggit | |
2 # | |
3 # See http://hub.eyeo.com/issues/9024 | |
4 # This class should be obsolete when puppet is => 4.1.0 due `install_options` | |
5 # being included for pip provider. | |
6 # | |
7 class adblockplus::mercurial::extension::hggit ( | |
8 $ensure = '0.8.9', | |
9 ) { | |
10 | |
11 ensure_packages([ | |
12 'python-pip', | |
13 'libffi-dev', | |
14 'libssl-dev', | |
mathias
2018/03/16 09:03:33
Couldn't you use a $dependencies list with these i
f.lopez
2018/03/16 18:11:46
Acknowledged.
| |
15 ]) | |
16 | |
17 exec {'upgrade setuptools': | |
18 command => '/usr/bin/pip install --upgrade setuptools', | |
19 require => Package['python-pip', 'libffi-dev', 'libssl-dev'], | |
20 } | |
21 | |
22 exec {'upgrade urllib3': | |
23 command => '/usr/bin/pip install --upgrade urllib3', | |
24 require => Package['python-pip', 'libffi-dev', 'libssl-dev'], | |
25 } | |
26 | |
27 adblockplus::mercurial::extension {'hggit': | |
28 package => { | |
29 ensure => $ensure, | |
30 name => 'hg-git', | |
31 provider => 'pip', | |
32 }, | |
33 require => Exec['upgrade urllib3'], | |
34 } | |
35 } | |
OLD | NEW |