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

Fixes busser install for older omnibus windows installs #1003

Merged
merged 1 commit into from
Apr 8, 2016
Merged

Conversation

mwrock
Copy link
Member

@mwrock mwrock commented Apr 8, 2016

This fixes test-kitchen/busser#25

Older (chef 11) omnibus installs on Windows do not propogate the the changes to the path so commands made in the same kitchen run will not have the chef embedded bin on the path. This is exacerbated by older versions of rubygems like the one that ships with chef 11 where the binstubs do not include an absolute path to the ruby interpreter. As a result he busser installer cannot find ruby.exe.

This was fixed for the provisioners in this commit, but alas, the busser still breaks.

This pr centralizes the reload_ps1_path method and uses it in the busser installer.

@mwrock
Copy link
Member Author

mwrock commented Apr 8, 2016

I have tested this with chef 11.18.6 and validated that the verifier runs without error.

@cheeseplus
Copy link

+1

1 similar comment
@smurawski
Copy link
Contributor

👍

@mwrock mwrock merged commit ada927f into master Apr 8, 2016
@fnichol fnichol removed the Developing label Apr 8, 2016
@mwrock mwrock deleted the bad_busser branch April 8, 2016 15:41
@mwrock mwrock added the Bug label Apr 13, 2016
@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Binstubs in 'verifier' do not point at a valid ruby interpreter on Windows
5 participants