diff options
author | danielsdeleo <dan@chef.io> | 2015-09-15 11:28:35 -0700 |
---|---|---|
committer | danielsdeleo <dan@chef.io> | 2015-09-17 14:29:50 -0700 |
commit | 41372f5a6b5608625a6d89953d24c60373d4c39b (patch) | |
tree | ba8f47cf6b0dea2da7ef5af5bcd8b151e86aae45 | |
parent | 90075c9d83c2df2916fd1a2d441401e1c7cf5362 (diff) | |
download | chef-41372f5a6b5608625a6d89953d24c60373d4c39b.tar.gz |
Add policyfile attrs to knife "fuzzy" search
-rw-r--r-- | lib/chef/knife/search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/search.rb b/lib/chef/knife/search.rb index 9319d30e7d..2b0c79ff6c 100644 --- a/lib/chef/knife/search.rb +++ b/lib/chef/knife/search.rb @@ -160,7 +160,7 @@ class Chef def fuzzify_query if @query !~ /:/ - @query = "tags:*#{@query}* OR roles:*#{@query}* OR fqdn:*#{@query}* OR addresses:*#{@query}*" + @query = "tags:*#{@query}* OR roles:*#{@query}* OR fqdn:*#{@query}* OR addresses:*#{@query}* OR policy_name:*#{@query}* OR policy_group:*#{@query}*" end end |