diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-07-06 15:14:38 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-07-06 15:14:38 +0000 |
commit | f883d4afa9d46a4091bd1cd99fd0677643c779a5 (patch) | |
tree | 82fdd0c048274199ee241288825ed4d693462de3 /modules/openssh/manifests/ssh_keys_from_ldap.pp | |
parent | 93e656447c3f5201ee30e6e17a1841c65acc5269 (diff) | |
download | puppet-f883d4afa9d46a4091bd1cd99fd0677643c779a5.tar puppet-f883d4afa9d46a4091bd1cd99fd0677643c779a5.tar.gz puppet-f883d4afa9d46a4091bd1cd99fd0677643c779a5.tar.bz2 puppet-f883d4afa9d46a4091bd1cd99fd0677643c779a5.tar.xz puppet-f883d4afa9d46a4091bd1cd99fd0677643c779a5.zip |
openssh: switch to standard path for authorized_keys file
Diffstat (limited to 'modules/openssh/manifests/ssh_keys_from_ldap.pp')
-rw-r--r-- | modules/openssh/manifests/ssh_keys_from_ldap.pp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/modules/openssh/manifests/ssh_keys_from_ldap.pp b/modules/openssh/manifests/ssh_keys_from_ldap.pp index 4615647c..d29cc7ae 100644 --- a/modules/openssh/manifests/ssh_keys_from_ldap.pp +++ b/modules/openssh/manifests/ssh_keys_from_ldap.pp @@ -1,19 +1,6 @@ -class openssh::ssh_keys_from_ldap($symlink_users = [], - $config = '') inherits server { - # root account authorized_keys will be symlinked - # if you want to add symlink on other accounts, use $symlink_users parameter - - File ['/etc/ssh/sshd_config'] { - content => template('openssh/sshd_config','openssh/sshd_config_ldap') - } - +class openssh::ssh_keys_from_ldap($config = '') inherits server { package { 'python-ldap': } - include openssh::pubkeys_directory - $pubkeys_directory = $openssh::pubkeys_directory::pubkeys_directory - - symlink_user { $symlink_users: } - $ldap_pwfile = '/etc/ldap.secret' $ldap_servers = get_ldap_servers() mga_common::local_script { 'ldap-sshkey2file.py': |