From 503e4cf5c54e3fe4b802038e8917341c4ce803e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 10 Sep 2017 12:45:41 +0200 Subject: Make use of LDAP variables to configure node --- modules/base_installation/templates/puppet/host_ldap.info.erb | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/base_installation/templates/puppet/host_ldap.info.erb') diff --git a/modules/base_installation/templates/puppet/host_ldap.info.erb b/modules/base_installation/templates/puppet/host_ldap.info.erb index a350c37..f742da7 100644 --- a/modules/base_installation/templates/puppet/host_ldap.info.erb +++ b/modules/base_installation/templates/puppet/host_ldap.info.erb @@ -2,6 +2,7 @@ ldapadd -D "cn=root,<%= @ldap_base %>" -W << 'EOF' dn: <%= @ldap_dn %> cn: <%= @ldap_cn %> +cn: <%= @system_hostname %> objectclass: device objectclass: top objectclass: simpleSecurityObject -- cgit v1.2.3