From 4bb2474e2965f1de0d9836152879b94c32e6ffa0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 7 Jan 2011 19:34:16 +0000 Subject: add no_binary option for svn repo --- modules/subversion/manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/subversion') diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index 6df01c75..ac74f332 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -125,6 +125,7 @@ class subversion { $commit_mail = '', $cia_post = true, $cia_module = 'default', + $no_binary = false, $syntax_check = '', $extract_dir = '') { # check permissions @@ -190,6 +191,12 @@ class subversion { } + 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, -- cgit v1.2.1