infochimps/cluster_chef — Issue #78: v3 lib/cluster_chef/compute.rb index fix
Author: pcn
Created: 2011-12-08 06:02:03+00:00
State: open

503 pn@PN-mac 00:58 ~/dvcs/cluster_chef_3/lib/cluster_chef $ git diff compute.rb

diff --git a/lib/cluster_chef/compute.rb b/lib/cluster_chef/compute.rb
index bdc0835..017b09c 100644
--- a/lib/cluster_chef/compute.rb
+++ b/lib/cluster_chef/compute.rb
@@ -116,7 +116,7 @@ module ClusterChef

# run list elements grouped into :first, :normal and :last
def run_list_groups
- @run_list_info.keys.sort_by{|item| @run_list_info[:rank] }.group_by{|item| @run_list_info[item][:placement] }
+ @run_list_info.keys.sort_by{|item| @run_list_info[item][:rank] }.group_by{|item| @run_list_info[item][:placement] }
end

#

My git repos are messed up while I try to get v3 working so here's the patch.