aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell/templates/membersh-conf.pl
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-23 01:11:10 +0000
committerMichael Scherer <misc@mageia.org>2010-11-23 01:11:10 +0000
commit01cae5b08f26d3ca9034bd02b13b21e762e81149 (patch)
tree6ad9e3d5cca42b564f0a8eb91fd138a378e6e561 /modules/restrictshell/templates/membersh-conf.pl
parent7c1cb4b1fa96fede6e6912d9698107cd5d4efb06 (diff)
downloadpuppet-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/membersh-conf.pl')
-rwxr-xr-xmodules/restrictshell/templates/membersh-conf.pl10
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;