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

Unified Diff: modules/filtermaster/manifests/repo_download.pp

Issue 29548730: Remove duplicate declaration of mercurial package (Closed)
Patch Set: For comment 2 Created Sept. 18, 2017, 6:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/filtermaster/manifests/repo_download.pp
===================================================================
--- a/modules/filtermaster/manifests/repo_download.pp
+++ b/modules/filtermaster/manifests/repo_download.pp
@@ -25,11 +25,11 @@
$static_files = [],
) {
+ include adblockplus::mercurial
+
$directory = "/home/rsync/subscription/$title"
$repository = "https://hg.adblockplus.org/$title"
- ensure_packages(['mercurial'])
-
exec {"filtermaster::repo_download#$title":
command => shellquote('hg', 'clone', $repository, $directory),
onlyif => shellquote('test', '!', '-d', $directory),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld