diff options
-rw-r--r-- | modules/subversion/manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index cc848cb4..1904de0e 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -37,7 +37,7 @@ class subversion { # TODO ensure that subversion ishere # allow to configure the snapshot refresh interval - define snapshot($source, $refresh, $user = 'root') { + define snapshot($source, $refresh = '*/5', $user = 'root') { exec { "/usr/bin/svn co $source $name": creates => $name, user => $user, @@ -46,7 +46,7 @@ class subversion { cron { "update $name": command => "cd $name && /usr/bin/svn update -q", user => $user, - minute => '*/5' + minute => $refresh } } } |