aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell/manifests/allow.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/restrictshell/manifests/allow.pp')
-rw-r--r--modules/restrictshell/manifests/allow.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/restrictshell/manifests/allow.pp b/modules/restrictshell/manifests/allow.pp
new file mode 100644
index 00000000..361ee4a7
--- /dev/null
+++ b/modules/restrictshell/manifests/allow.pp
@@ -0,0 +1,7 @@
+define restrictshell::allow {
+ include shell
+ file { "/etc/membersh-conf.d/allow_$name.pl":
+ mode => '0755',
+ content => "\$use_$name = 1;\n",
+ }
+}