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

Added chef_solo_command config option #456

Closed

Conversation

robcoward
Copy link

In order to get chef-solo to run under an openssh connection under
cygwin, test-kitchen needs to run chef-solo.bat so that cygwin doesnt
try to run ruby.exe with a cygwin path. This option allows the chef-solo
command to be overriden in the kitchen.yml configuration.

In order to get chef-solo to run under an openssh connection under
cygwin, test-kitchen needs to run chef-solo.bat so that cygwin doesnt
try to run ruby.exe with a cygwin path. This option allows the chef-solo
command to be overriden in the kitchen.yml configuration.
@robcoward
Copy link
Author

This is my kitchen.yml file I use with this change in order to get a Window7 VM running under test-kitchen.

platforms:
- name: Windows7
  driver_config:
    box: windows7
    gui: true
    box_url: http://server/pub/win7x64-pro-chef.box
  provisioner:
    sudo: false
    require_chef_omnibus: false
    root_path: c:/temp/kitchen
    chef_solo_command: chef-solo.bat

@sethvargo
Copy link
Contributor

I'd rather just support Windows that have such a hack

@robcoward
Copy link
Author

Is windows support on the roadmap since the vagrant provisioning support was removed ?

@sethvargo
Copy link
Contributor

Yes

@fnichol
Copy link
Contributor

fnichol commented Oct 17, 2014

Hey there @robcoward!

I have good news and bad news. The good news is that we have support for a :chef_solo_path and :chef_client_path in master as of 24f6cab in #381. The bad news is that I should have included your work into that PR 😢 I will pull your work into the CHANGELOG however--I agree this will be darn useful.

On the Windows front, we should have a gold solid solution being merged in shortly, after a few of these outstanding issues are closed out.

1171

@fnichol fnichol closed this Oct 17, 2014
@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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants