blob: b10c7915cef5851e6f36eec59c454205a2ca1b57 (
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
28
29
|
#TODO: add support for pkgsubmit
class restrictshell {
$allow_svn = "0"
$allow_git = "0"
$allow_rsync = "0"
$allow_pkgsubmit = "0"
class allow_svn_git_pkgsubmit {
$allow_svn = "1"
$allow_git = "1"
$allow_pkgsubmit = "1"
}
file { '/usr/local/bin/sv_membersh.pl':
ensure => present,
owner => root,
group => root,
mode => 755,
content => template("restrictshell/sv_membersh.pl"),
}
file { '/etc/membersh-conf.pl':
ensure => present,
owner => root,
group => root,
mode => 755,
content => template("restrictshell/membersh-conf.pl"),
}
}
|