tPl0ch/puppet-composer — pull request #4 by andyshinn (2013-10-06 02:29:12+00:00)
Title: sudo support

Hi,

In my project, I need to exec composer commands under a specific UID/GID. This is because I am replicating an environment where the project is allocated its own user and home directory. Currently I've simply hacked your code to prepend sudo to composer commands. Can you think of a better way to do that?