summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2011-04-29 14:25:37 -0700
committerDaniel DeLeo <dan@opscode.com>2011-04-29 14:25:37 -0700
commit83a65bf9d57d5339e778ea1f83a11bfa451dcdfa (patch)
treee48763e5b307b5e3a7aa943972b8f8d061fd6594
parent3e85a7abac0201b62c3af4920927b2e52c030b98 (diff)
parentf5c355ca79459a0fc2504195aefc769f4be5959e (diff)
downloadchef-83a65bf9d57d5339e778ea1f83a11bfa451dcdfa.tar.gz
Merge branch 'CHEF-2292'
-rw-r--r--chef/lib/chef/recipe.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/chef/lib/chef/recipe.rb b/chef/lib/chef/recipe.rb
index 4413478160..33dfde787d 100644
--- a/chef/lib/chef/recipe.rb
+++ b/chef/lib/chef/recipe.rb
@@ -88,6 +88,7 @@ class Chef
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]