[Mageia-sysadm] [711] add no_binary option for svn repo

root at mageia.org root at mageia.org
Fri Jan 7 20:34:17 CET 2011


Revision: 711
Author:   boklm
Date:     2011-01-07 20:34:16 +0100 (Fri, 07 Jan 2011)
Log Message:
-----------
add no_binary option for svn repo

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

Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp	2011-01-07 19:30:15 UTC (rev 710)
+++ puppet/modules/subversion/manifests/init.pp	2011-01-07 19:34:16 UTC (rev 711)
@@ -125,6 +125,7 @@
                        $commit_mail = '',
                        $cia_post = true,
                        $cia_module = 'default',
+		       $no_binary = false,
                        $syntax_check = '',
                        $extract_dir = '') {
         # check permissions
@@ -190,6 +191,12 @@
 		
 	}
 
+	if $no_binary {
+	    pre_commit_link { 'no_binary': 
+		directory => "$name/hooks/pre-commit.d/"
+	    }
+	}
+
         if $extract_dir {
             file { "$name/hooks/post-commit.d/extract_dir":
                 ensure => present,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110107/dc6c9667/attachment.html>


More information about the Mageia-sysadm mailing list