X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fbase_installation%2Ftemplates%2Fpuppet%2Fhost_ldap.info.erb;h=7afdf2dd3ac2d9a629c31e77c695b6df8012bf7a;hb=96cda4dc280242305aba5aa509f95cd981784a22;hp=9c79d3c8480bd6675c91d74bd495e3a08f64ac8e;hpb=35fcf209830771fd3d9243ace3bb123fdf643b8e;p=perso%2FImmae%2FProjets%2FPuppet.git 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: