summaryrefslogtreecommitdiff
path: root/lib/chef/search
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/search')
-rw-r--r--lib/chef/search/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/search/query.rb b/lib/chef/search/query.rb
index 46dedd33f8..4eaff0471c 100644
--- a/lib/chef/search/query.rb
+++ b/lib/chef/search/query.rb
@@ -63,7 +63,7 @@ class Chef
args_h = hashify_args(*args)
if args_h[:fuzz]
- if type == :node
+ if [:node, 'node'].include?(type)
query = fuzzify_node_query(query)
end
# FIXME: can i haz proper ruby-2.x named parameters someday plz?