aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh/manifests
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2016-02-21 00:07:23 +0100
committerOlivier Blin <dev@blino.org>2016-02-21 00:08:57 +0100
commit9c88eafb46225df40f8e7a03a54f378e83935f53 (patch)
tree47910e652522cda364e09ba04ca84fe62922d172 /modules/openssh/manifests
parent094424ee3e603db6275b7c19fca423e865d01a81 (diff)
downloadpuppet-9c88eafb46225df40f8e7a03a54f378e83935f53.tar
puppet-9c88eafb46225df40f8e7a03a54f378e83935f53.tar.gz
puppet-9c88eafb46225df40f8e7a03a54f378e83935f53.tar.bz2
puppet-9c88eafb46225df40f8e7a03a54f378e83935f53.tar.xz
puppet-9c88eafb46225df40f8e7a03a54f378e83935f53.zip
openssh: Fix writing ssh public keys, with new ldap secret location
ldap secret is now stored in the bindpw field of /etc/nslcd.conf
Diffstat (limited to 'modules/openssh/manifests')
-rw-r--r--modules/openssh/manifests/ssh_keys_from_ldap.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/openssh/manifests/ssh_keys_from_ldap.pp b/modules/openssh/manifests/ssh_keys_from_ldap.pp
index 6d23db5b..3004bc52 100644
--- a/modules/openssh/manifests/ssh_keys_from_ldap.pp
+++ b/modules/openssh/manifests/ssh_keys_from_ldap.pp
@@ -2,6 +2,7 @@ class openssh::ssh_keys_from_ldap inherits server {
package { 'python-ldap': }
$ldap_pwfile = '/etc/ldap.secret'
+ $nslcd_conf_file = '/etc/nslcd.conf'
$ldap_servers = get_ldap_servers()
mga_common::local_script { 'ldap-sshkey2file.py':
content => template('openssh/ldap-sshkey2file.py'),