blob: 60dc9bad67b71162c11d11f920cb54bd13825b19 (
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
26
27
|
class cgit {
package { 'cgit': }
file { '/etc/cgitrc':
content => template('cgit/cgitrc'),
notify => Service['apache'],
require => Package['cgit'],
}
apache::webapp_other { 'cgit':
webapp_file => 'cgit/webapp.conf',
}
mga_common::local_script { 'cgit.filter.commit-links.sh':
content => template('cgit/filter.commit-links.sh'),
}
apache::vhost::base { "gitweb.${::domain}":
content => template('cgit/vhost.conf')
}
apache::vhost::base { "ssl_gitweb.${::domain}":
use_ssl => true,
vhost => "gitweb.${::domain}",
content => template('cgit/vhost.conf')
}
}
|