From 96cda4dc280242305aba5aa509f95cd981784a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 25 Jun 2018 23:29:23 +0200 Subject: Add real hostname puppetVar to ldap --- modules/base_installation/templates/puppet/host_ldap.info.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/base_installation/templates/puppet/host_ldap.info.erb b/modules/base_installation/templates/puppet/host_ldap.info.erb index 9c79d3c..7afdf2d 100644 --- a/modules/base_installation/templates/puppet/host_ldap.info.erb +++ b/modules/base_installation/templates/puppet/host_ldap.info.erb @@ -12,6 +12,7 @@ objectclass: ipHost <% unless @ips["v6"].nil? -%>ipHostNumber: <%= @ips["v6"]["ipAddress"] %>/<%= @ips["v6"]["mask"] %><%- end %> <%- end -%> environment: <%= @environment %> +puppetVar: real_hostname=<%= @real_hostname %> userpassword: {SSHA}<%= Base64.encode64(Digest::SHA1.digest(@ldap_password+@ssha_ldap_seed)+@ssha_ldap_seed).chomp! %> EOF #### Or modify an existing entry: -- cgit v1.2.3