blob: a75918130c3dd7e0f7d185f6417252c903e7b0ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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')
}
}
|