| 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 | |
|
mathias
2018/03/15 17:57:04
... and why is it required now? Without documentin
f.lopez
2018/03/16 00:23:59
Should I include the description here? That's why
| |
| 5 # | |
| 6 class adblockplus::mercurial::extension::hggit { | |
| 7 | |
| 8 ensure_packages([ | |
| 9 'libffi-dev', | |
| 10 'libssl-dev', | |
| 11 ]) | |
| 12 | |
| 13 exec { "upgrade setuptools": | |
|
mathias
2018/03/15 17:57:05
Please use single quotes and no space after the br
f.lopez
2018/03/16 00:23:59
Acknowledged.
| |
| 14 command => '/usr/bin/pip install --upgrade setuptools', | |
| 15 require => Package['python-pip', 'libffi-dev', 'libssl-dev'], | |
|
mathias
2018/03/15 17:57:05
This requires Package['python-pip'] being defined
f.lopez
2018/03/16 00:23:59
Acknowledged.
| |
| 16 } | |
| 17 | |
| 18 exec { "upgrade urllib3": | |
|
mathias
2018/03/15 17:57:04
Same as above.
f.lopez
2018/03/16 00:23:59
Acknowledged.
| |
| 19 command => '/usr/bin/pip install --upgrade urllib3', | |
| 20 require => Package['python-pip', 'libffi-dev', 'libssl-dev'], | |
| 21 } | |
| 22 | |
| 23 adblockplus::mercurial::extension {'hggit': | |
| 24 package => { | |
| 25 ensure => '0.8.9', | |
|
mathias
2018/03/15 17:57:05
This value should be implemented as the default fo
f.lopez
2018/03/16 00:23:59
Acknowledged.
| |
| 26 name => 'hg-git', | |
| 27 provider => 'pip', | |
| 28 }, | |
| 29 require => Exec['upgrade urllib3'], | |
| 30 } | |
| 31 } | |
| OLD | NEW |