[Mageia-sysadm] [453] do not use default empty array, as puppet evaluate this as "true" and

root at mageia.org root at mageia.org
Wed Nov 24 13:45:32 CET 2010


Revision: 453
Author:   misc
Date:     2010-11-24 13:45:31 +0100 (Wed, 24 Nov 2010)
Log Message:
-----------
do not use default empty array, as puppet evaluate this as "true" and
therefore create the post-commit scripts with invalid values

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

Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp	2010-11-24 11:14:33 UTC (rev 452)
+++ puppet/modules/subversion/manifests/init.pp	2010-11-24 12:45:31 UTC (rev 453)
@@ -114,9 +114,9 @@
 
     define repository ($group = "svn",
                        $public = true,
-                       $commit_mail = [],
-                       $syntax_check = [],
-                       $extract_dir = []) {
+                       $commit_mail = '',
+                       $syntax_check = '',
+                       $extract_dir = '') {
         # check permissions
         # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
         # $name ==> directory of the repo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101124/59f55dac/attachment.html>


More information about the Mageia-sysadm mailing list