diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-19 19:51:44 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-19 19:51:44 +0000 |
commit | 22b50aa52fc3167415af08d0e6ee0cbbeb35e833 (patch) | |
tree | 85ddd28907b1eab63e7fc567aa7eb693f5f8cf68 /modules/subversion/manifests/hook/pre_commit.pp | |
parent | 8cb534edfa57a6a4869a5b56626cdde139e1bb3a (diff) | |
download | puppet-22b50aa52fc3167415af08d0e6ee0cbbeb35e833.tar puppet-22b50aa52fc3167415af08d0e6ee0cbbeb35e833.tar.gz puppet-22b50aa52fc3167415af08d0e6ee0cbbeb35e833.tar.bz2 puppet-22b50aa52fc3167415af08d0e6ee0cbbeb35e833.tar.xz puppet-22b50aa52fc3167415af08d0e6ee0cbbeb35e833.zip |
split pre_commit and post_commit in separate file, and simplify the
layout, by renaming commit_hook to hook directly
Diffstat (limited to 'modules/subversion/manifests/hook/pre_commit.pp')
-rw-r--r-- | modules/subversion/manifests/hook/pre_commit.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/subversion/manifests/hook/pre_commit.pp b/modules/subversion/manifests/hook/pre_commit.pp new file mode 100644 index 00000000..fa44b168 --- /dev/null +++ b/modules/subversion/manifests/hook/pre_commit.pp @@ -0,0 +1,6 @@ +define subversion::hook::pre_commit($content) { + hook { $name: + content => $content, + type => 'pre-commit', + } +} |