Defined Type: gitolite::hook
- Defined in:
- manifests/hook.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 |
# File 'manifests/hook.pp', line 1
define gitolite::hook {
$repo = $name
file { "${gitolite::params::gt_repo_dir}/${repo}.git/hooks":
ensure => directory,
recurse => true,
owner => $gitolite::params::gt_uid,
group => $gitolite::params::gt_gid,
source => "puppet:///modules/${gitolite::params::gt_hooks_module}/${repo}",
require => Class['gitolite::server']
}
}
|