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 4 Created March 16, 2018, 6:22 p.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 # [*ensure*]
8 # General resource policy, i.e. "present" or "absent".
9 #
10 class adblockplus::mercurial::extension::hggit (
11 $ensure = '0.8.9',
12 ) {
13
14 $dependencies = [
15 'python-pip',
16 'libffi-dev',
17 'libssl-dev',
18 ]
19
20 ensure_packages($dependencies)
21
22 exec {'upgrade setuptools':
23 command => '/usr/bin/pip install --upgrade setuptools',
24 require => Package[$dependencies],
25 }
26
27 exec {'upgrade urllib3':
28 command => '/usr/bin/pip install --upgrade urllib3',
29 require => Package[$dependencies],
30 }
31
32 adblockplus::mercurial::extension {'hggit':
33 package => {
34 ensure => $ensure,
35 name => 'hg-git',
36 provider => 'pip',
37 },
38 require => Exec['upgrade urllib3'],
39 }
40 }
41
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