Skip to content

Commit

Permalink
Remove sort order from node query
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlert committed Sep 9, 2012
1 parent 0d83a86 commit abae0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/postfix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
end

# Get primary IPs of all nodes
hosts = search(:node, "*:*", %w(ipaddress)).map { |n| n["ipaddress"] }
hosts = search(:node, "*:*").map { |n| n["ipaddress"] }

template "/etc/postfix/main.cf" do
source "postfix/main.cf.erb"
Expand Down

0 comments on commit abae0ce

Please sign in to comment.