summaryrefslogtreecommitdiff
path: root/chef-solr
diff options
context:
space:
mode:
Diffstat (limited to 'chef-solr')
-rw-r--r--chef-solr/lib/chef/solr/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-solr/lib/chef/solr/query.rb b/chef-solr/lib/chef/solr/query.rb
index 29c44a17f0..a432997957 100644
--- a/chef-solr/lib/chef/solr/query.rb
+++ b/chef-solr/lib/chef/solr/query.rb
@@ -55,7 +55,7 @@ class Chef
# You'll wind up having to page things yourself.
def raw(type, options={})
qtype = case type
- when "role",:role,"node",:node,"client",:client
+ when "role",:role,"node",:node,"client",:client, "environment", :environment
type
else
[ "data_bag_item", type ]