puppetlabs/puppetdb — pull request #984 by senior (2014-06-09 15:43:48+00:00)
Title: (PDB-658) Move environments endpoint to the query engine

Needed to add support for an empty query to the engine. This was needed to query for ALL environments. Will need to rebase after https://github.com/puppetlabs/puppetdb/pull/982 is merged.