From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002136.html | 123 +++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002136.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002136.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002136.html b/zarb-ml/mageia-sysadm/2011-January/002136.html new file mode 100644 index 000000000..8a1f7b704 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002136.html @@ -0,0 +1,123 @@ + + + + [Mageia-sysadm] [807] - reuse the more elegant array for check_syntax + + + + + + + + + +

[Mageia-sysadm] [807] - reuse the more elegant array for check_syntax

+ root at mageia.org + root at mageia.org +
+ Sun Jan 16 14:15:31 CET 2011 +

+
+ +
Revision: 807
+Author:   misc
+Date:     2011-01-16 14:15:31 +0100 (Sun, 16 Jan 2011)
+Log Message:
+-----------
+- reuse the more elegant array for check_syntax
+
+Modified Paths:
+--------------
+    puppet/modules/subversion/manifests/init.pp
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:29 UTC (rev 806)
++++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:31 UTC (rev 807)
+@@ -132,9 +132,7 @@
+                        $cia_module = 'default',
+ 		       $cia_ignore_author = '',
+ 		       $no_binary = false,
+-                       $syntax_check1 = '',
+-                       $syntax_check2 = '',
+-                       $syntax_check3 = '',
++                       $syntax_check = '',
+                        $extract_dir = '') {
+         # check permissions
+         # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
+@@ -222,21 +220,11 @@
+ 	pre_commit_link { "$name/hooks/pre-commit.d/no_root_commit":
+ 	    scriptname => 'no_root_commit',
+ 	}
+-	if $syntax_check1 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check1}":
+-	        scriptname => $syntax_check1,
++	if $syntax_check {
++	    pre_commit_link { "$name/hooks/pre-commit.d/$syntax_check":
++		scriptname => $syntax_check,
+ 	    }
+-	}
+-	if $syntax_check2 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check2}":
+-		scriptname => $syntax_check2,
+-	    }
+-	}
+-	if $syntax_check3 {
+-	    pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check3}":
+-		scriptname => $syntax_check3,
+-	    }
+-	}
++        }
+     }
+ 
+ 
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110116/24c90d0b/attachment-0001.html>
+
+ + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1