puppetlabs/puppetdb — pull request #888 by kbarber (2014-03-19 00:16:01+00:00)
Title: WIP PDB-453 Add environments to all terminii

(We might be unable to merge at this point, as we are awaiting fixes in Puppet: https://github.com/puppetlabs/puppet/pull/2444).

This patch ensures that the request environment is sent to PuppetDB inside
the payloads for the object types: facts, catalogs & reports.

Signed-off-by: Ken Barber