diff options
author | Daniel DeLeo <dan@opscode.com> | 2011-04-29 14:22:30 -0700 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2011-04-29 14:25:26 -0700 |
commit | f5c355ca79459a0fc2504195aefc769f4be5959e (patch) | |
tree | e48763e5b307b5e3a7aa943972b8f8d061fd6594 /chef | |
parent | 3e85a7abac0201b62c3af4920927b2e52c030b98 (diff) | |
download | chef-f5c355ca79459a0fc2504195aefc769f4be5959e.tar.gz |
[CHEF-2292] convert tags to strings
Diffstat (limited to 'chef')
-rw-r--r-- | chef/lib/chef/recipe.rb | 1 |
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] |