diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-19 21:55:05 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-19 21:55:05 +0000 |
commit | 31d7c82f9f4f793ddd0c6fc8279dbf36840a4659 (patch) | |
tree | 2d8059367d37e372ce8b25a68afc61fd692cc39b /modules/restrictshell/manifests/allow.pp | |
parent | 0d2c2d30b6b4927174b419143e3ef24ddcc10573 (diff) | |
download | puppet-31d7c82f9f4f793ddd0c6fc8279dbf36840a4659.tar puppet-31d7c82f9f4f793ddd0c6fc8279dbf36840a4659.tar.gz puppet-31d7c82f9f4f793ddd0c6fc8279dbf36840a4659.tar.bz2 puppet-31d7c82f9f4f793ddd0c6fc8279dbf36840a4659.tar.xz puppet-31d7c82f9f4f793ddd0c6fc8279dbf36840a4659.zip |
split the module in several file, and clean it
Diffstat (limited to 'modules/restrictshell/manifests/allow.pp')
-rw-r--r-- | modules/restrictshell/manifests/allow.pp | 7 |
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", + } +} |