blob: 045787d6b45c016c53d335008911c1e8d74bcbff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# This class handles a gitweb installation.
class gitweb inherits git-manager {
# the needed packages
package { gitweb: ensure => installed }
$hosting_domain = $base_domain ? {
'' => $domain,
default => $base_domain,
}
$base_url_protocol = $gitweb_protocol ? {
'' => 'git',
default => $gitweb_protocol,
}
# gitweb config file
file { "/etc/gitweb.conf":
owner => "root",
group => "root",
mode => 0644,
ensure => present,
content => template('git/gitweb.conf.erb'),
}
}
|