aboutsummaryrefslogtreecommitdiff
path: root/modules/base_installation/templates/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base_installation/templates/puppet')
-rw-r--r--modules/base_installation/templates/puppet/host_ldap_add_top.info.erb2
-rw-r--r--modules/base_installation/templates/puppet/host_ldap_mod_top.info.erb2
-rw-r--r--modules/base_installation/templates/puppet/puppet.conf.erb2
3 files changed, 4 insertions, 2 deletions
diff --git a/modules/base_installation/templates/puppet/host_ldap_add_top.info.erb b/modules/base_installation/templates/puppet/host_ldap_add_top.info.erb
index 3aafc19..544f445 100644
--- a/modules/base_installation/templates/puppet/host_ldap_add_top.info.erb
+++ b/modules/base_installation/templates/puppet/host_ldap_add_top.info.erb
@@ -6,7 +6,7 @@ objectclass: device
6objectclass: top 6objectclass: top
7objectclass: simpleSecurityObject 7objectclass: simpleSecurityObject
8objectclass: puppetClient 8objectclass: puppetClient
9<%- unless @ips.empty? -%> 9<%- unless @ips.nil? || @ips.empty? -%>
10objectclass: ipHost 10objectclass: ipHost
11<% unless @ips["v4"].nil? -%>ipHostNumber: <%= @ips["v4"]["ipAddress"] %><%- end %> 11<% unless @ips["v4"].nil? -%>ipHostNumber: <%= @ips["v4"]["ipAddress"] %><%- end %>
12<% unless @ips["v6"].nil? -%>ipHostNumber: <%= @ips["v6"]["ipAddress"] %>/<%= @ips["v6"]["mask"] %><%- end %> 12<% unless @ips["v6"].nil? -%>ipHostNumber: <%= @ips["v6"]["ipAddress"] %>/<%= @ips["v6"]["mask"] %><%- end %>
diff --git a/modules/base_installation/templates/puppet/host_ldap_mod_top.info.erb b/modules/base_installation/templates/puppet/host_ldap_mod_top.info.erb
index d7a1294..b1a4906 100644
--- a/modules/base_installation/templates/puppet/host_ldap_mod_top.info.erb
+++ b/modules/base_installation/templates/puppet/host_ldap_mod_top.info.erb
@@ -7,7 +7,7 @@ userpassword: {SSHA}<%= Base64.encode64(Digest::SHA1.digest(@ldap_password+@ssha
7- 7-
8replace: environment 8replace: environment
9environment: <%= @environment %> 9environment: <%= @environment %>
10<%- unless @ips.empty? -%> 10<%- unless @ips.nil? || @ips.empty? -%>
11- 11-
12delete: ipHostNumber 12delete: ipHostNumber
13<%- unless @ips["v4"].nil? -%> 13<%- unless @ips["v4"].nil? -%>
diff --git a/modules/base_installation/templates/puppet/puppet.conf.erb b/modules/base_installation/templates/puppet/puppet.conf.erb
index 38a0c1b..4233b86 100644
--- a/modules/base_installation/templates/puppet/puppet.conf.erb
+++ b/modules/base_installation/templates/puppet/puppet.conf.erb
@@ -16,6 +16,7 @@ ssldir = <%= @puppet_ssl_path %>
16 16
17environment = <%= @environment %> 17environment = <%= @environment %>
18 18
19<% if @ldap_enabled %>
19node_terminus = ldap 20node_terminus = ldap
20certname = <%= @real_hostname %> 21certname = <%= @real_hostname %>
21ldapserver = <%= @ldap_server %> 22ldapserver = <%= @ldap_server %>
@@ -26,3 +27,4 @@ ldappassword = <%= @ldap_password %>
26ldapclassattrs = puppetClass 27ldapclassattrs = puppetClass
27ldapparentattr = parentNode 28ldapparentattr = parentNode
28ldapstackedattrs = puppetVar 29ldapstackedattrs = puppetVar
30<% end %>