puppetlabs/puppet — pull request #1279 by arnoudj (2012-11-14 16:53:51+00:00)
Title: Environment is empty for commands run vi custom types.

Environment is empty when a command from a custom type is run. See also http://projects.puppetlabs.com/issues/16262. This will set the initial environment to the current environment.