tPl0ch/puppet-composer — pull request #12 by andyshinn (2013-09-29 22:16:22+00:00)
Title: Set COMPOSER_HOME environment variable using new $composer_home fact

In Puppet versions > 3.0, environment variables such as `$HOME` no longer exist. Composer relies on `$HOME` to store metadata and fails to run in Puppet versions after 3.0. This PR adds a simple `composer_home` fact which returns the current users home folder and then uses that as the default for the `$COMPOSER_HOME` environment variables, which composer will use in lieu of `$HOME`.