From d607571b68c6f8e44f5dafa97c71d2376e338ccf Mon Sep 17 00:00:00 2001 From: Adam Jacob Date: Tue, 7 Oct 2008 17:06:51 -0700 Subject: Adding extlib and Mash-ing @attribute --- lib/chef/node.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1