Skip to content

Instantly share code, notes, and snippets.

@thommay
Created February 18, 2010 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thommay/307825 to your computer and use it in GitHub Desktop.
Save thommay/307825 to your computer and use it in GitHub Desktop.
n = Chef::Node.new
n.run_list << "foo::bar"
pp n
#<Chef::Node:0xb71d2c18
@attribute={},
@couchdb=
#<Chef::CouchDB:0xb71d2b64
@rest=#<Chef::REST:0xb71d2b00 @cookies={}, @url="http://localhost:5984">>,
@couchdb_rev=nil,
@default={},
@name=nil,
@override={},
@run_list=
#<Chef::RunList:0xb71d2b8c
@recipes=["foo::bar"],
@roles=[],
@run_list=["recipe[foo::bar]"]>,
@run_state={:template_cache=>{}, :seen_recipes=>{}}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment