Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/adblockplus/manifests/mercurial/extension/hggit.pp

Issue 29722943: #9024 - Introduce class abp::mercurial::extension::hggit (Closed)
Patch Set: For comment 2 Created March 16, 2018, 1:29 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/private-stub/hiera/base.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « no previous file | modules/private-stub/hiera/base.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld