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

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

Issue 29527797: Fix broken dependency in adblockplus::mercurial::extension (Closed)
Patch Set: Created Aug. 25, 2017, 4:12 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
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*]
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }, $config)) 65 }, $config))
66 66
67 # https://docs.puppet.com/puppet/latest/lang_relationships.html 67 # https://docs.puppet.com/puppet/latest/lang_relationships.html
68 File["$name.rc"] <- Package['mercurial'] 68 File["$name.rc"] <- Package['mercurial']
69 69
70 # https://docs.puppet.com/puppet/latest/function.html#defined 70 # https://docs.puppet.com/puppet/latest/function.html#defined
71 if defined('$package') { 71 if defined('$package') {
72 72
73 ensure_resource('package', $name, merge({ 73 ensure_resource('package', $name, merge({
74 ensure => $adblockplus::mercurial::ensure, 74 ensure => $adblockplus::mercurial::ensure,
75 require => Package['python-dev'], 75 require => Package['python-pip'],
76 }, $package)) 76 }, $package))
77 77
78 Package[$name] <- Package['mercurial'] 78 Package[$name] <- Package['mercurial']
79 } 79 }
80 } 80 }
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