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/shell.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/shell.pp')
-rw-r--r-- | modules/restrictshell/manifests/shell.pp | 14 |
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'), + } +} |