lib/chef/recipe.rb in chef-0.10.0.rc.1 vs lib/chef/recipe.rb in chef-0.10.0.rc.2

- old
+ new

@@ -86,9 +86,10 @@ # === Returns # tags<Array>:: The contents of run_context.node[:tags] def tag(*tags) if tags.length > 0 tags.each do |tag| + tag = tag.to_s run_context.node[:tags] << tag unless run_context.node[:tags].include?(tag) end run_context.node[:tags] else run_context.node[:tags]