diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-10-07 17:06:51 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-10-07 17:06:51 -0700 |
commit | d607571b68c6f8e44f5dafa97c71d2376e338ccf (patch) | |
tree | 5df0dffeaf5cba6d930219f9912954537a59547d /lib | |
parent | c59e826199720a2a2ee7b79d19a89a3f78946b49 (diff) | |
download | chef-d607571b68c6f8e44f5dafa97c71d2376e338ccf.tar.gz |
Adding extlib and Mash-ing @attribute
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/node.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb index e440e3a940..e1c8ef2d9a 100644 --- a/lib/chef/node.rb +++ b/lib/chef/node.rb @@ -20,6 +20,7 @@ require File.join(File.dirname(__FILE__), "mixin", "check_helper") require File.join(File.dirname(__FILE__), "mixin", "params_validate") require File.join(File.dirname(__FILE__), "mixin", "from_file") +require 'extlib' require 'rubygems' require 'json' @@ -60,7 +61,7 @@ class Chef # Create a new Chef::Node object. def initialize() @name = nil - @attribute = Hash.new + @attribute = Mash.new @recipe_list = Array.new @couchdb_rev = nil @couchdb = Chef::CouchDB.new |