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

Set default proxy configuration for Chef provisioners #21

Merged
merged 5 commits into from
Sep 10, 2013

Conversation

tmatilai
Copy link
Owner

@tmatilai tmatilai commented Sep 8, 2013

Set proxy settings for all Chef Solo and Chef Client provisioners based on config.proxy.http etc. The provisioner specific configuration still takes precedence.

Chef configuration wants the (optional) username and password in separate config keys, so we need to extract them from our URI.

Fixes #19.

Set proxy settings for all Chef provisioners based on
`config.proxy.http` etc. The provisioner specific configuration
still takes precedence.

Chef configuration wants the (optional) username and password in
separate config keys, so we need to extract them from our URI.
@tmatilai
Copy link
Owner Author

tmatilai commented Sep 8, 2013

@schlamar, here is the first attempt to implement #19. Could you give it a spin?

Installation instructions (also found in the wiki):

git clone https://github.com/tmatilai/vagrant-proxyconf.git
cd vagrant-proxyconf
git checkout chef-provisioners
bundle
bundle exec rake build
vagrant plugin install pkg/vagrant-proxyconf-*.gem

@schlamar
Copy link

schlamar commented Sep 9, 2013

Worked like a charm 👍

tmatilai added a commit that referenced this pull request Sep 10, 2013
Set default proxy configuration for Chef provisioners

Fixes #19
@tmatilai tmatilai merged commit 8703533 into master Sep 10, 2013
@tknerr
Copy link

tknerr commented Sep 11, 2013

Cool stuff! Like! 👍

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.

Propagate settings to chef?
3 participants