blob: 168e2a2260964a02022e9e824517db3970737d81 (
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
|
# This class handles a gitosis installation, with /var/git as the root for
# git repositories.
class git::gitosis inherits git {
# the needed packages
package { "gitosis": ensure => installed }
# make sure this is not installed
package { "gitolite": ensure => purged }
# tries to get rid of ugly directory structure
file { "/srv/gitosis":
ensure => absent,
force => true,
backup => false,
require => User["git"],
}
# we also don't need /var/gitosis
file { "/var/gitosis":
ensure => absent,
force => true,
backup => false,
require => User["git"],
}
}
|