Index: modules/filtermaster/manifests/init.pp |
diff --git a/modules/filtermaster/manifests/init.pp b/modules/filtermaster/manifests/init.pp |
index bbd9b7b08ed352f717f8fa73be8f786cfd6643f5..370ff9202f762d6a9b91a3341ee6e4fda29e79cd 100755 |
--- a/modules/filtermaster/manifests/init.pp |
+++ b/modules/filtermaster/manifests/init.pp |
@@ -89,21 +89,9 @@ class filtermaster( |
package {['p7zip-full']:} |
- define repo_download($alias = $title) { |
- |
- exec {"fetch_${title}": |
- command => "hg clone https://hg.adblockplus.org/${title} /home/rsync/subscription/${title}", |
- path => ["/usr/bin/", "/bin/"], |
- require => Package['mercurial'], |
- user => rsync, |
- timeout => 0, |
- onlyif => "test ! -d /home/rsync/subscription/${title}" |
- } |
- } |
- |
create_resources('filtermaster::repo_download', $repo_downloads) |
- repo_download {$repos: |
+ filtermaster::repo_download {$repos: |
} |
cron {'update_subscription': |