/[adm]/puppet/modules/subversion/manifests/hook.pp
ViewVC logotype

Contents of /puppet/modules/subversion/manifests/hook.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2641 - (show annotations) (download)
Mon Mar 19 19:51:44 2012 UTC (12 years ago) by misc
File size: 226 byte(s)
split pre_commit and post_commit in separate file, and simplify the
layout, by renaming commit_hook to hook directly
1 define subversion::hook($content, $type) {
2 $array = split($name,'\|')
3 $repo = $array[0]
4 $script = $array[1]
5 file { "$repo/hooks/$type.d/$script":
6 content => $content,
7 mode => '0755',
8 }
9 }

Properties

Name Value
svn:keywords "ID Date Rev"

  ViewVC Help
Powered by ViewVC 1.1.30