Index: modules/web/manifests/server.pp |
=================================================================== |
--- a/modules/web/manifests/server.pp |
+++ b/modules/web/manifests/server.pp |
@@ -99,8 +99,14 @@ |
managehome => true, |
} |
+ $fetch_cms_cmd = [ |
+ 'hg', 'clone', |
+ 'https://hg.adblockplus.org/cms/', |
+ '/opt/cms', |
+ ] |
+ |
exec {"fetch_cms": |
- command => "hg clone https://hg.adblockplus.org/cms/ /opt/cms", |
+ command => shellquote($fetch_cms_cmd), |
path => ["/usr/bin/", "/bin/"], |
require => Package['mercurial'], |
timeout => 0, |