2013-02-07 22:20:10 +01:00
|
|
|
class humbug::git {
|
|
|
|
class { 'humbug::base': }
|
|
|
|
|
2013-06-14 19:57:21 +02:00
|
|
|
# We run our wiki off of git.humbughq.com; this may change.
|
|
|
|
class { 'humbug::wiki': }
|
|
|
|
|
2013-02-07 22:20:10 +01:00
|
|
|
$git_packages = [ ]
|
|
|
|
package { $git_packages: ensure => "installed" }
|
|
|
|
|
2013-06-14 19:57:21 +02:00
|
|
|
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',
|
|
|
|
}
|
2013-02-07 22:20:10 +01:00
|
|
|
}
|