Last active
August 29, 2015 14:17
-
-
Save nmcspadden/19cd0e53acd0926078b2 to your computer and use it in GitHub Desktop.
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
Nick-Tech:chef-repo nmcspadden$ chef-shell -c /etc/chef/client.rb | |
loading configuration: /etc/chef/client.rb | |
Session type: standalone | |
Loading......done. | |
This is the chef-shell. | |
Chef Version: 12.0.3 | |
http://www.opscode.com/chef | |
http://docs.opscode.com/ | |
run `help' for help, `exit' or ^D to quit. | |
Ohai2u nmcspadden@! | |
chef > puts node['cpe']['hardware'] | |
NoMethodError: undefined method `[]' for nil:NilClass | |
from (irb):1 | |
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/shell.rb:75:in `block in start' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/shell.rb:74:in `catch' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/shell.rb:74:in `start' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/bin/chef-shell:37:in `<top (required)>' | |
from /opt/chefdk/embedded/bin/chef-shell:23:in `load' | |
from /opt/chefdk/embedded/bin/chef-shell:23:in `<main>' | |
chef > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment