From c25c148826abe0dc09eeaa3ebe2c927b44708f2f Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 20 Oct 2015 11:21:08 +0300 Subject: lint fixes for restrictshell --- modules/restrictshell/manifests/allow.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/restrictshell/manifests') diff --git a/modules/restrictshell/manifests/allow.pp b/modules/restrictshell/manifests/allow.pp index 361ee4a7..40028f75 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", } } -- cgit v1.2.1