[Mageia-sysadm] [158] - try to be sure that svn::client is installed if needed
root at mageia.org
root at mageia.org
Fri Nov 5 19:20:59 CET 2010
Revision: 158
Author: misc
Date: 2010-11-05 19:20:59 +0100 (Fri, 05 Nov 2010)
Log Message:
-----------
- try to be sure that svn::client is installed if needed
Modified Paths:
--------------
puppet/modules/subversion/manifests/init.pp
Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp 2010-11-05 18:20:58 UTC (rev 157)
+++ puppet/modules/subversion/manifests/init.pp 2010-11-05 18:20:59 UTC (rev 158)
@@ -50,6 +50,9 @@
# TODO ensure that subversion ishere
# allow to configure the snapshot refresh interval
define snapshot($source, $refresh = '*/5', $user = 'root') {
+
+ include svn::client
+
exec { "/usr/bin/svn co $source $name":
creates => $name,
user => $user,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101105/91647bfd/attachment.html>
More information about the Mageia-sysadm
mailing list