puppetlabs/puppet — pull request #2375 by zaphod42 (2014-02-21 02:58:42+00:00)
Title: (PUP-1678) List environment settings instead of modules

In talking with consumers of the environment information it turns out that
listing the modules isn't the desired feature. Instead they really want
the settings of the environment (modulepath, manifest). Other settings may
be added later.

This has the added benefit that listing the environments is now a much
cheaper operations since it doesn't need to load the module data.