aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell/manifests/shell.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/restrictshell/manifests/shell.pp')
-rw-r--r--modules/restrictshell/manifests/shell.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/restrictshell/manifests/shell.pp b/modules/restrictshell/manifests/shell.pp
new file mode 100644
index 00000000..c209f352
--- /dev/null
+++ b/modules/restrictshell/manifests/shell.pp
@@ -0,0 +1,14 @@
+class restrictshell::shell {
+ file { '/etc/membersh-conf.d':
+ ensure => directory,
+ }
+
+ local_script { 'sv_membersh.pl':
+ content => template('restrictshell/sv_membersh.pl'),
+ }
+
+ file { '/etc/membersh-conf.pl':
+ mode => '0755',
+ content => template('restrictshell/membersh-conf.pl'),
+ }
+}