Skip to content

Commit

Permalink
Do not include fqdn within loopback
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisroberts committed Jun 25, 2013
1 parent 201502d commit 936fb6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/fqdn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

hosts_file_entry '127.0.0.1' do
action :nothing
hostname node[:hosts_file][:fqdn]
aliases [node[:hosts_file][:hostname], 'localhost']
hostname 'localhost'
aliases [node[:hosts_file][:hostname]]
not_if do
node[:fqdn] == node[:dns][:entry][:name]
end
Expand Down

0 comments on commit 936fb6f

Please sign in to comment.