2013-10-29 23:53:04 +01:00
|
|
|
class zulip-internal::git {
|
2013-11-01 20:28:03 +01:00
|
|
|
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
|
|
|
}
|