Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for defining attributes from environment variables #169

Open
terojankkila opened this issue Oct 28, 2020 · 2 comments
Open

Add support for defining attributes from environment variables #169

terojankkila opened this issue Oct 28, 2020 · 2 comments

Comments

@terojankkila
Copy link

In container world we don't always have easy access to installer script and it's parameters but we do have easy access to defining new environment variables.

So I would humbly request a feature that would allow me to define something like
COMPOSER_CHANNEL=1
which would be same as giving --1 for the installer script. And to keep logic clean giving --1 should override environment variables.

Having all variables available as environment variables would ease use of composer installer in docker/Openshift containers.

br,
Tero Jankkila

@Seldaek
Copy link
Member

Seldaek commented Oct 28, 2020

If you like to send a PR for the installer script (+ tweak the download page with docs perhaps) that sounds fine to me.

@MT4T
Copy link

MT4T commented Feb 28, 2024

default['mycookbook']['myvar'] = '3'

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

No branches or pull requests

5 participants
@Seldaek @terojankkila @MT4T and others