diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-19 00:24:22 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-19 00:24:22 +0000 |
commit | 090867e1a559885b11c914c977cfd2843c5ee746 (patch) | |
tree | bc9b9c58cc712acb3e54acb6ab2b1753d143705c /modules/subversion/templates | |
parent | f7254c82c2526397fd02e8df01508e9c8541a285 (diff) | |
download | puppet-090867e1a559885b11c914c977cfd2843c5ee746.tar puppet-090867e1a559885b11c914c977cfd2843c5ee746.tar.gz puppet-090867e1a559885b11c914c977cfd2843c5ee746.tar.bz2 puppet-090867e1a559885b11c914c977cfd2843c5ee746.tar.xz puppet-090867e1a559885b11c914c977cfd2843c5ee746.zip |
- add logic to extract directory from svn on commit
Diffstat (limited to 'modules/subversion/templates')
-rw-r--r-- | modules/subversion/templates/hook_extract.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/subversion/templates/hook_extract.pl b/modules/subversion/templates/hook_extract.pl new file mode 100644 index 00000000..7f4f0a29 --- /dev/null +++ b/modules/subversion/templates/hook_extract.pl @@ -0,0 +1,10 @@ +#!/usr/bin/perl -MSVN::Notify::Config=$0 +--- #YAML:1.0 +<% extract_dir.each do |src,dest| %> + +'<%= src %>': + PATH: "/usr/bin:/usr/local/bin" + handler: Mirror + svn-binary: /usr/bin/svn + to: <%= dest %> +<% end %> |