Parent Directory
|
Revision Log
add module to install shell to restrict access to only svn, git, and later package submit
1 | #TODO: add support for pkgsubmit |
2 | class restrictshell { |
3 | $allow_svn = "0" |
4 | $allow_git = "0" |
5 | $allow_rsync = "0" |
6 | $allow_pkgsubmit = "0" |
7 | |
8 | class allow_svn_git_pkgsubmit { |
9 | $allow_svn = "1" |
10 | $allow_git = "1" |
11 | $allow_pkgsubmit = "1" |
12 | } |
13 | |
14 | file { '/usr/local/bin/sv_membersh.pl': |
15 | ensure => present, |
16 | owner => root, |
17 | group => root, |
18 | mode => 755, |
19 | content => template("restrictshell/sv_membersh.pl"), |
20 | } |
21 | |
22 | file { '/etc/membersh-conf.pl': |
23 | ensure => present, |
24 | owner => root, |
25 | group => root, |
26 | mode => 755, |
27 | content => template("restrictshell/membersh-conf.pl"), |
28 | } |
29 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |