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

Delta Between Two Patch Sets: modules/adblockplus/manifests/mercurial.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 | « hiera/roles/web/adblockplus.yaml ('k') | modules/adblockplus/manifests/mercurial/extension.pp » ('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 # == Class: adblockplus::mercurial 1 # == Class: adblockplus::mercurial
2 # 2 #
3 # Manage Mercurial (https://www.mercurial-scm.org/) resources. 3 # Manage Mercurial (https://www.mercurial-scm.org/) resources.
4 # 4 #
5 # === Parameters: 5 # === Parameters:
6 # 6 #
7 # [*config*] 7 # [*config*]
8 # Overwrite the default hgrc file options for the Mercurial config. 8 # Overwrite the default hgrc file options for the Mercurial config.
9 # 9 #
10 # [*package*] 10 # [*package*]
11 # Overwrite the default package options, to fine-tune the target version. 11 # Overwrite the default package options.
12 # 12 #
13 # === Examples: 13 # === Examples:
14 # 14 #
15 # class {'adblockplus::mercurial': 15 # class {'adblockplus::mercurial':
16 # package => { 16 # package => {
17 # ensure => 'latest', 17 # ensure => 'latest',
18 # }, 18 # },
19 # } 19 # }
20 # 20 #
21 class adblockplus::mercurial ( 21 class adblockplus::mercurial (
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 content => $default_content, 55 content => $default_content,
56 }, $config)) 56 }, $config))
57 57
58 # https://docs.puppet.com/puppet/latest/lang_relationships.html 58 # https://docs.puppet.com/puppet/latest/lang_relationships.html
59 Package['mercurial'] -> File['hgrc'] 59 Package['mercurial'] -> File['hgrc']
60 60
61 # https://docs.puppet.com/puppet/latest/function.html#createresources 61 # https://docs.puppet.com/puppet/latest/function.html#createresources
62 $extensions = hiera_hash('adblockplus::mercurial::extensions', {}) 62 $extensions = hiera_hash('adblockplus::mercurial::extensions', {})
63 create_resources('adblockplus::mercurial::extension', $extensions) 63 create_resources('adblockplus::mercurial::extension', $extensions)
64 } 64 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld