puppet: Finish puppetizing git/wiki configuration.

(imported from commit 423083269cea7b23f8b5805561919b9c6b9a8f4d)
This commit is contained in:
Tim Abbott 2013-06-14 13:57:21 -04:00
parent 5c388ed28e
commit caafb405d7
2 changed files with 14 additions and 4 deletions

View File

@ -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',
}
}

View File

@ -1,5 +1,4 @@
class humbug::wiki {
class { 'humbug::base': }
class { 'humbug::apache': }
class { 'humbug::supervisor': }