diff options
-rw-r--r-- | modules/subversion/manifests/init.pp | 7 |
1 files changed, 7 insertions, 0 deletions
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, |