Skip to content

Commit

Permalink
Remove node name from config
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Jul 14, 2016
1 parent dffd858 commit 44450f4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sudo: required
dist: trusty

# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
addons:
Expand Down
2 changes: 1 addition & 1 deletion templates/default/default_slapd.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Generated by Chef for <%= node.name %>
# Generated by Chef. Do not hand edit
#

# Location of the slapd configuration to use. If using the cn=config
Expand Down
2 changes: 1 addition & 1 deletion templates/default/ldap-ldap.conf.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# LDAP Defaults
#
# Generated by Chef for <%= node.name %>
# Generated by Chef. Do not hand edit
#

# See ldap.conf(5) for details
Expand Down
2 changes: 1 addition & 1 deletion templates/default/ldap.conf.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Generated by Chef for <%= node.name %>
# Generated by Chef. Do not hand edit
#

uri <%= node['openldap']['server_uri'] %>
Expand Down
2 changes: 1 addition & 1 deletion templates/default/login_access.conf.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# /etc/security/login_access.conf
#
# Generated by Chef for <%= node.name %>
# Generated by Chef. Do not hand edit
#
<% logingroup = node['hostname'] -%>
<% logingroup = node['hostname'].sub(/^(.+?)\d+(.+)$/, '\1-\2-login') -%>
Expand Down
2 changes: 1 addition & 1 deletion templates/default/slapd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This is a slapd.conf file. See slapd.conf(5) for more info.
#
# Generated by Chef for <%= node.name %>
# Generated by Chef. Do not hand edit
#
# $Id:$
####
Expand Down

0 comments on commit 44450f4

Please sign in to comment.