aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-07 19:34:16 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-07 19:34:16 +0000
commit4bb2474e2965f1de0d9836152879b94c32e6ffa0 (patch)
tree25191ba87fdf11054d6dc68c4c1964635db026c4 /modules
parent47bf5c27f7f308e505c0fa4dddeb0ed3083e7c81 (diff)
downloadpuppet-4bb2474e2965f1de0d9836152879b94c32e6ffa0.tar
puppet-4bb2474e2965f1de0d9836152879b94c32e6ffa0.tar.gz
puppet-4bb2474e2965f1de0d9836152879b94c32e6ffa0.tar.bz2
puppet-4bb2474e2965f1de0d9836152879b94c32e6ffa0.tar.xz
puppet-4bb2474e2965f1de0d9836152879b94c32e6ffa0.zip
add no_binary option for svn repo
Diffstat (limited to 'modules')
-rw-r--r--modules/subversion/manifests/init.pp7
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,