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

Delta Between Two Patch Sets: modules/adblockplus/manifests/mercurial/extension.pp

Issue 29526640: #3044 - Introduce class adblockplus::mercurial (Closed)
Left Patch Set: For comment 2 Created Aug. 24, 2017, 6:23 p.m.
Right Patch Set: For comment 5 Created Aug. 24, 2017, 6:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/adblockplus/manifests/mercurial.pp ('k') | modules/adblockplus/templates/mercurial/hgext.erb » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # == Type: adblockplus::mercurial::extension 1 # == Type: adblockplus::mercurial::extension
2 # 2 #
3 # Setup rotation for a particular log file. 3 # Setup rotation for a particular log file.
4 # 4 #
5 # === Parameters: 5 # === Parameters:
6 # 6 #
7 # [*config*] 7 # [*config*]
8 # Overwrite the default hgrc.d/$name file for Mercurial extensions. 8 # Overwrite the default hgrc.d/$name file for Mercurial extensions.
9 # 9 #
10 # [*package*] 10 # [*package*]
11 # Overwrite the default package/extension options, to fine-tune the target 11 # Overwrite the default package/extension options.
mathias 2017/08/24 18:28:38 One can do more with that parameter than fine-tuni
12 # version.
13 # 12 #
14 # === Examples: 13 # === Examples:
15 # 14 #
16 # adblockplus::mercurial::extension {'example': 15 # adblockplus::mercurial::extension {'example':
17 # name => 'pager', 16 # name => 'pager',
18 # config => { 17 # config => {
19 # content => join([ 18 # content => join([
20 # '[extensions]', 19 # '[extensions]',
21 # 'pager = ', 20 # 'pager = ',
22 # '[pager]', 21 # '[pager]',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 if defined('$package') { 71 if defined('$package') {
73 72
74 ensure_resource('package', $name, merge({ 73 ensure_resource('package', $name, merge({
75 ensure => $adblockplus::mercurial::ensure, 74 ensure => $adblockplus::mercurial::ensure,
76 require => Package['python-dev'], 75 require => Package['python-dev'],
77 }, $package)) 76 }, $package))
78 77
79 Package[$name] <- Package['mercurial'] 78 Package[$name] <- Package['mercurial']
80 } 79 }
81 } 80 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld