2013-11-05 21:21:00 +01:00
|
|
|
class zulip_internal::git {
|
|
|
|
include zulip_internal::base
|
2013-02-07 22:20:10 +01:00
|
|
|
|
|
|
|
$git_packages = [ ]
|
|
|
|
package { $git_packages: ensure => "installed" }
|
|
|
|
|
2013-10-07 18:32:26 +02:00
|
|
|
file { '/home/git/repositories/eng/zulip.git/hooks':
|
2013-06-14 19:57:21 +02:00
|
|
|
ensure => 'directory',
|
2013-10-07 18:32:26 +02:00
|
|
|
owner => 'git',
|
|
|
|
group => 'git',
|
2013-06-14 19:57:21 +02:00
|
|
|
mode => 755,
|
|
|
|
}
|
|
|
|
|
2013-10-07 18:32:26 +02:00
|
|
|
file { '/home/git/repositories/eng/zulip.git/hooks/post-receive':
|
2013-06-14 19:57:21 +02:00
|
|
|
ensure => 'link',
|
2013-10-04 19:19:57 +02:00
|
|
|
target => '/home/zulip/zulip/tools/post-receive',
|
2013-06-14 19:57:21 +02:00
|
|
|
}
|
2013-02-07 22:20:10 +01:00
|
|
|
}
|