-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Windows: resolved merge conflicts and added tests #196
Windows: resolved merge conflicts and added tests #196
Conversation
The box I was using appears to have been taken offline today. I've changed to a new box from the same source. You no longer need to log in, but kitchen seems to try on first run to use ssh to connect. I cancel the first run with ^C, then re-run the test, and it uses winrm. No idea why. |
What's the best way to test this? |
…ot sure what's going on
I've fixed some of the Windows VM stuff by manually setting some values that I thought Kitchen was supposed to set. I'm verifying that all tests pass right now, and will re-push when that's done. |
0d28ece
to
3160318
Compare
It's all updated. You can run The Windows box can take quite a while to download. 20-30 minutes at home, but it was several hours before I had to cancel it when leaving the office. |
This is failing for me. Are you using ChefDK? |
Yes, ChefDK 0.6.2 on Mac OS 10.10. What errors are you getting? |
@@ -10,9 +10,22 @@ platforms: | |||
- name: ubuntu-12.04 | |||
- name: centos-7.0 | |||
- name: centos-6.5 | |||
<% if ENV['TEST_WINDOWS'] %> |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
Windows: resolved merge conflicts and added tests
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This adds support for installing on Windows using the
install_method
ofwindows
. It uses the Chocolatey package manager.I have made the Windows tests conditional on setting the
TEST_WINDOWS
environment variable to a truthy value. I tried using vagrant boxes from [https://github.com/joefitzgerald/packer-windows] and [https://github.com/boxcutter/windows], but I was not able to make them work. The box used is approximately 3 GB to download. Provisioning only seems to work if you login at boot time; annoying, but it works.