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

Extract configuration from Vagrantfile #1

Open
shedd opened this issue Nov 14, 2013 · 2 comments
Open

Extract configuration from Vagrantfile #1

shedd opened this issue Nov 14, 2013 · 2 comments

Comments

@shedd
Copy link
Owner

shedd commented Nov 14, 2013

Right now, Vagrantfiles are a mix of configuration of the guest machine being built + personal local configuration.

As in this commit setting up a synced folder - d215961 - it would be nice to be able to have the specific path extracted out to environment variables or other external configuration.

Then we could have a env_config.yml.example file checked into the repo, making it easy to separate personal configuration from configuration of the guest machine.

@shedd
Copy link
Owner Author

shedd commented Nov 14, 2013

I thought the Dotenv gem (https://github.com/bkeepers/dotenv) seemed like a potential option for this, but couldn't get it working within the context of a Vagrantfile. WIP branch here: master...dotenv

@shedd
Copy link
Owner Author

shedd commented Nov 14, 2013

Made some improvements by moving "personal" config to the top of Vagrantfile: 1b3175a

shedd pushed a commit that referenced this issue Nov 20, 2013
reminder to pull down the submodules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant