Permalink
Browse files

Remove sort order from node query

  • Loading branch information...
pehlert committed Sep 9, 2012
1 parent 0d83a86 commit abae0ce6c2e556cf7de5c070845c749f4451b75f
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/postfix.rb
View
@@ -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"

0 comments on commit abae0ce

Please sign in to comment.