Skip to content

Conversation

@pbanderas
Copy link

The shell commands for composer only set the COMPOSER_HOME env variable, and there is no way to specify others.

In my case, I needed it to set GIT_SSH env (so it could clone a private package from a private repo) but can be used to set other variables such as $HOME or $USER if necessary (Chef execute resource used inside composer_project does not change these couple, regardless the user/group attributes)

Resource now receives a new attribute env, in order to specify additional
shell environment variables
@pbanderas pbanderas force-pushed the composer-custom-env branch from e9af6c5 to 5cbd114 Compare February 3, 2016 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant