/gist:18e7bb1d74075c47f750 Secret
Created
December 21, 2012 16:22
Star
You must be signed in to star a gist
Chef::Node sort in 0.10.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is shef, the Chef shell. | |
Chef Version: 0.10.6 | |
http://www.opscode.com/chef | |
http://wiki.opscode.com/display/chef/Home | |
run `help' for help, `exit' or ^D to quit. | |
Ohai2u ddeleo@lorentz.local! | |
chef > n1 = Chef::Node.new | |
=> node[] | |
chef > n1.name("a") | |
=> "a" | |
chef > n2 = Chef::Node.new | |
=> node[] | |
chef > n2.name("z") | |
=> "z" | |
chef > [n1, n2].sort | |
ArgumentError: comparison of Chef::Node with Chef::Node failed | |
from (irb):5:in `sort' | |
from (irb):5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment