[Mageia-sysadm] [315] - fix the condition of the svn creation

root at mageia.org root at mageia.org
Fri Nov 19 01:55:01 CET 2010


Revision: 315
Author:   misc
Date:     2010-11-19 01:55:01 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
- fix the condition of the svn creation

Modified Paths:
--------------
    puppet/modules/subversion/manifests/init.pp

Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp	2010-11-19 00:54:59 UTC (rev 314)
+++ puppet/modules/subversion/manifests/init.pp	2010-11-19 00:55:01 UTC (rev 315)
@@ -76,12 +76,13 @@
         # check permissions
         # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
         # $name ==> directory of the repo
-
+	include subversion::server
         # TODO set umask -> requires puppet 2.7.0
         exec { "svnadmin create $name":
             user => root,
             group => $group,
-            creates => $name
+            creates => "$name/hooks",
+	    require => Package['subversion-tools'],
         }
 #        # TODO complete documentation
 #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/edacdc62/attachment.html>


More information about the Mageia-sysadm mailing list