diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-23 01:11:10 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-23 01:11:10 +0000 |
commit | 01cae5b08f26d3ca9034bd02b13b21e762e81149 (patch) | |
tree | 6ad9e3d5cca42b564f0a8eb91fd138a378e6e561 /modules/restrictshell/templates | |
parent | 7c1cb4b1fa96fede6e6912d9698107cd5d4efb06 (diff) | |
download | puppet-01cae5b08f26d3ca9034bd02b13b21e762e81149.tar puppet-01cae5b08f26d3ca9034bd02b13b21e762e81149.tar.gz puppet-01cae5b08f26d3ca9034bd02b13b21e762e81149.tar.bz2 puppet-01cae5b08f26d3ca9034bd02b13b21e762e81149.tar.xz puppet-01cae5b08f26d3ca9034bd02b13b21e762e81149.zip |
- split the module in 2 part, and add class to allow to more easyly
combine the autorized shell
Diffstat (limited to 'modules/restrictshell/templates')
-rwxr-xr-x | modules/restrictshell/templates/membersh-conf.pl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/restrictshell/templates/membersh-conf.pl b/modules/restrictshell/templates/membersh-conf.pl index 0d9887e1..203a2c94 100755 --- a/modules/restrictshell/templates/membersh-conf.pl +++ b/modules/restrictshell/templates/membersh-conf.pl @@ -1,16 +1,18 @@ -$use_svn = "<%= allow_svn %>"; + + $bin_svn = "/usr/bin/svnserve"; $regexp_svn = "^svnserve -t\$"; #@prepend_args_svn = ( '-r', '/svn' ); @prepend_args_svn = (); -$use_git = "<%= allow_git %>"; $bin_git = "/usr/bin/git-shell"; -$use_rsync = "<%= allow_rsync %>"; $bin_rsync = "/usr/bin/rsync"; $regexp_rsync = "^rsync --server"; $regexp_dir_rsync = "^/.*"; -$use_pkgsubmit = "<%= allow_pkgsubmit %>"; +foreach my $f (glob("/etc/membersh-conf.d/allow_*pl")) { + do($f) +} +1; |