- From: Angus Buchanan <
>
- To:
- Subject: [chef] Chef Shell Attributes
- Date: Sun, 14 Apr 2013 15:31:27 +0100
I'm trying to load Chef Shell in solo mode, and then include_recipe and inspect the node attributes.
# chef-shell --solo --config /etc/chef/solo.rb
loading configuration: /etc/chef/solo.rbSession type: solo
Loading....done.
This is the chef-shell.
Chef Version: 11.4.0
http://www.opscode.com/chef http://wiki.opscode.com/display/chef/Home
run `help' for help, `exit' or ^D to quit.
Ohai2u
chef >
chef > Chef::Config[:cookbook_path]
=> "/vagrant/cookbooks"
Then enter recipe mode, include_recipe "yum". The recipe is loaded.
Now switch to attributes mode:
chef:recipe > attributes_mode
chef:attributes > node.default
=> {}
What am I missing?
-aob
- [chef] Chef Shell Attributes, Angus Buchanan, 04/14/2013
Archive powered by MHonArc 2.6.16.