aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2010-12-21 19:20:24 +0000
committerNicolas Vigier <boklm@mageia.org>2010-12-21 19:20:24 +0000
commita3082b0aa13b26952e9db674af8f62555615fccf (patch)
treeeba658eb5fbadec35ca241c6fdee83d07fa607c2 /modules/subversion/manifests
parent867747110eac381ba4e1aca96dfef9bbe64177c8 (diff)
downloadpuppet-a3082b0aa13b26952e9db674af8f62555615fccf.tar
puppet-a3082b0aa13b26952e9db674af8f62555615fccf.tar.gz
puppet-a3082b0aa13b26952e9db674af8f62555615fccf.tar.bz2
puppet-a3082b0aa13b26952e9db674af8f62555615fccf.tar.xz
puppet-a3082b0aa13b26952e9db674af8f62555615fccf.zip
add pre-commit script to prevent commit of some binary files
Diffstat (limited to 'modules/subversion/manifests')
-rw-r--r--modules/subversion/manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index 7b9da2d0..6036291c 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -31,6 +31,14 @@ class subversion {
content => template('subversion/create_svn_repo.sh')
}
+ file { "$local_dir/pre-commit.d/no_binary":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ content => template('subversion/no_binary')
+ }
+
file { "$local_dir/pre-commit.d/no_root_commit":
ensure => present,
owner => root,