diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-17 14:17:29 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-17 14:17:29 +0000 |
commit | 1bd9a3ad4a149551f3b4359f766c12bee8e41053 (patch) | |
tree | f509a9aeabff01053461c4dfded77e1b8365ff25 /modules/restrictshell/manifests/init.pp | |
parent | 3166c4ac7a09197d43b3ffcec275fe81ef99e3c4 (diff) | |
download | puppet-1bd9a3ad4a149551f3b4359f766c12bee8e41053.tar puppet-1bd9a3ad4a149551f3b4359f766c12bee8e41053.tar.gz puppet-1bd9a3ad4a149551f3b4359f766c12bee8e41053.tar.bz2 puppet-1bd9a3ad4a149551f3b4359f766c12bee8e41053.tar.xz puppet-1bd9a3ad4a149551f3b4359f766c12bee8e41053.zip |
- import mandriva script to export ssh keys ( need some cleaning )
Diffstat (limited to 'modules/restrictshell/manifests/init.pp')
-rw-r--r-- | modules/restrictshell/manifests/init.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/restrictshell/manifests/init.pp b/modules/restrictshell/manifests/init.pp index b10c7915..2618f401 100644 --- a/modules/restrictshell/manifests/init.pp +++ b/modules/restrictshell/manifests/init.pp @@ -26,4 +26,21 @@ class restrictshell { mode => 755, content => template("restrictshell/membersh-conf.pl"), } + + package { 'python-ldap': + ensure => installed, + } + + file { '/usr/local/bin/ldap-sshkey2file.py': + ensure => present, + owner => root, + group => root, + mode => 755, + content => template("restrictshell/ldap-sshkey2file.py"), + requires => Package['python-ldap'] + } + + + + } |