aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh/manifests/ssh_keys_from_ldap.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openssh/manifests/ssh_keys_from_ldap.pp')
-rw-r--r--modules/openssh/manifests/ssh_keys_from_ldap.pp15
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':