132 |
$cia_module = 'default', |
$cia_module = 'default', |
133 |
$cia_ignore_author = '', |
$cia_ignore_author = '', |
134 |
$no_binary = false, |
$no_binary = false, |
135 |
$syntax_check1 = '', |
$syntax_check = '', |
|
$syntax_check2 = '', |
|
|
$syntax_check3 = '', |
|
136 |
$extract_dir = '') { |
$extract_dir = '') { |
137 |
# check permissions |
# check permissions |
138 |
# http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html |
# http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html |
220 |
pre_commit_link { "$name/hooks/pre-commit.d/no_root_commit": |
pre_commit_link { "$name/hooks/pre-commit.d/no_root_commit": |
221 |
scriptname => 'no_root_commit', |
scriptname => 'no_root_commit', |
222 |
} |
} |
223 |
if $syntax_check1 { |
if $syntax_check { |
224 |
pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check1}": |
pre_commit_link { "$name/hooks/pre-commit.d/$syntax_check": |
225 |
scriptname => $syntax_check1, |
scriptname => $syntax_check, |
226 |
} |
} |
227 |
} |
} |
|
if $syntax_check2 { |
|
|
pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check2}": |
|
|
scriptname => $syntax_check2, |
|
|
} |
|
|
} |
|
|
if $syntax_check3 { |
|
|
pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check3}": |
|
|
scriptname => $syntax_check3, |
|
|
} |
|
|
} |
|
228 |
} |
} |
229 |
|
|
230 |
|
|