| 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), |