aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell/templates/membersh-conf.pl
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2010-11-02 17:55:53 +0000
committerNicolas Vigier <boklm@mageia.org>2010-11-02 17:55:53 +0000
commit3fa85d8cc6eb8206a708db2ce1229ef77f956734 (patch)
treebc722cc0cc66c64220668795f28fc9ba8593bf4d /modules/restrictshell/templates/membersh-conf.pl
parent6c79ca599c43a2a512f3ee0368800f44264d5b44 (diff)
downloadpuppet-3fa85d8cc6eb8206a708db2ce1229ef77f956734.tar
puppet-3fa85d8cc6eb8206a708db2ce1229ef77f956734.tar.gz
puppet-3fa85d8cc6eb8206a708db2ce1229ef77f956734.tar.bz2
puppet-3fa85d8cc6eb8206a708db2ce1229ef77f956734.tar.xz
puppet-3fa85d8cc6eb8206a708db2ce1229ef77f956734.zip
add module to install shell to restrict access to only svn, git, and later package submit
Diffstat (limited to 'modules/restrictshell/templates/membersh-conf.pl')
-rwxr-xr-xmodules/restrictshell/templates/membersh-conf.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/restrictshell/templates/membersh-conf.pl b/modules/restrictshell/templates/membersh-conf.pl
new file mode 100755
index 00000000..ee80052f
--- /dev/null
+++ b/modules/restrictshell/templates/membersh-conf.pl
@@ -0,0 +1,13 @@
+$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 = "^/.*";