| Index: modules/web/manifests/server.pp |
| =================================================================== |
| --- a/modules/web/manifests/server.pp |
| +++ b/modules/web/manifests/server.pp |
| @@ -99,8 +99,12 @@ |
| managehome => true, |
| } |
| + $fetch_cms_cmd = [ |
| + "hg", "clone", "https://hg.adblockplus.org/cms/", "/opt/cms", |
|
mathias
2017/05/16 09:01:33
Please use single quotes.
|
| + ] |
| + |
| 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, |