mirror of https://github.com/zulip/zulip.git
puppet: Finish puppetizing git/wiki configuration.
(imported from commit 423083269cea7b23f8b5805561919b9c6b9a8f4d)
This commit is contained in:
parent
5c388ed28e
commit
caafb405d7
|
@ -1,10 +1,21 @@
|
|||
class humbug::git {
|
||||
class { 'humbug::base': }
|
||||
|
||||
# We run our wiki off of git.humbughq.com; this may change.
|
||||
class { 'humbug::wiki': }
|
||||
|
||||
$git_packages = [ ]
|
||||
package { $git_packages: ensure => "installed" }
|
||||
|
||||
# TODO: Should confirm git repos at /srv/git and then setup
|
||||
# /srv/git/humbug.git/hooks/post-receive ->
|
||||
# /home/humbug/humbug/tools/post-receive
|
||||
file { '/srv/git/humbug.git':
|
||||
ensure => 'directory',
|
||||
owner => 'humbug',
|
||||
group => 'humbug',
|
||||
mode => 755,
|
||||
}
|
||||
|
||||
file { '/srv/git/humbug.git/hooks/post-receive':
|
||||
ensure => 'link',
|
||||
target => '/home/humbug/humbug/tools/post-receive',
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class humbug::wiki {
|
||||
class { 'humbug::base': }
|
||||
class { 'humbug::apache': }
|
||||
class { 'humbug::supervisor': }
|
||||
|
||||
|
|
Loading…
Reference in New Issue