2016-10-17 04:05:49 +02:00
|
|
|
class zulip_ops::git {
|
|
|
|
include zulip_ops::base
|
2013-02-07 22:20:10 +01:00
|
|
|
|
|
|
|
$git_packages = [ ]
|
2018-08-13 21:29:40 +02:00
|
|
|
package { $git_packages: ensure => 'installed' }
|
2013-02-07 22:20:10 +01:00
|
|
|
|
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',
|
2018-04-23 08:30:21 +02:00
|
|
|
mode => '0755',
|
2013-06-14 19:57:21 +02:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|