| Index: modules/web/manifests/server.pp |
| =================================================================== |
| --- a/modules/web/manifests/server.pp |
| +++ b/modules/web/manifests/server.pp |
| @@ -145,9 +145,13 @@ |
| mode => 755, |
| } |
| + $update_cms_cmd = [ |
| + "hg", "pull", "-q", "-u", "-R", "/opt/cms", |
|
mathias
2017/05/16 09:00:07
This should be all single quotes.
|
| + ] |
| + |
| cron {'update_cms': |
| ensure => present, |
| - command => "hg pull -q -u -R /opt/cms", |
| + command => shellquote($update_cms_cmd), |
| minute => '4-59/20', |
| } |