aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/restrictshell/manifests')
-rw-r--r--modules/restrictshell/manifests/allow.pp4
-rw-r--r--modules/restrictshell/manifests/shell.pp2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/restrictshell/manifests/allow.pp b/modules/restrictshell/manifests/allow.pp
index 361ee4a7..cb1fd9a2 100644
--- a/modules/restrictshell/manifests/allow.pp
+++ b/modules/restrictshell/manifests/allow.pp
@@ -1,7 +1,7 @@
define restrictshell::allow {
include shell
- file { "/etc/membersh-conf.d/allow_$name.pl":
+ file { "/etc/membersh-conf.d/allow_${name}.pl":
mode => '0755',
- content => "\$use_$name = 1;\n",
+ content => "\$use_${name} = 1;\n",
}
}
diff --git a/modules/restrictshell/manifests/shell.pp b/modules/restrictshell/manifests/shell.pp
index 77044ed4..3ef2a036 100644
--- a/modules/restrictshell/manifests/shell.pp
+++ b/modules/restrictshell/manifests/shell.pp
@@ -3,7 +3,7 @@ class restrictshell::shell {
ensure => directory,
}
- mga-common::local_script { 'sv_membersh.pl':
+ mga_common::local_script { 'sv_membersh.pl':
content => template('restrictshell/sv_membersh.pl'),
}