-
Notifications
You must be signed in to change notification settings - Fork 63
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
Unable to download specified chef version for Windows #118
Comments
+1 for this |
That'a critical bug because it currently always install the last Chef client on Windows, even if the latest version has a bug (which is currently the case with chef solo, due to chef/chef#4948). Using opscode.com instead of getchef.com as suggested in #118 (comment) does not work anymore: https://www.getchef.com/chef/install.msi?v=12.10.24 and https://www.opscode.com/chef/install.msi?v=12.10.24 both download the latest MSI (currently chef-client-12.11.18-1-x86.msi). To download Chef client 12.10.24, correct URL is https://packages.chef.io/stable/windows/2008r2/chef-client-12.11.18-1-x86.msi or https://packages.chef.io/stable/windows/2008r2/chef-client-12.11.18-1-x64.msi; the redirections don't work as expected. |
we use the workaround config.omnibus.chef_version = "12.10.24" |
Thanks @ch-l (In my case, I figured out that I didn't need vagrant-omnibus anymore, as recent versions of Vagrant already installed Chef) |
Thanks @ch-l ! That helps us out a lot. Our devs thank you :) |
Thanks @ch-l this worked for me as well :) |
Beware: 1.5.0 Broke this workaround |
This bug is killing our automation, is there any sort of ETA on a fix to this? |
We need to be able to reliably pin down the version of the chef-client that gets installed. Any ETA on the fix for this? |
My understanding is that this is no longer maintained and you are better
off with test-kitchen and kitchen-vagrant.
…On Apr 20, 2017 11:04 AM, "knepprath" ***@***.***> wrote:
This bug is killing our automation. We need to be able to reliably pin
down the version of the chef-client that gets installed.
Any ETA on the fix for this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#118 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALVnriKI9Z8SQmsRJByzxgDAzIczo7pks5rx544gaJpZM4D1iWT>
.
|
Hey, @stormerider, thanks for the info. Is there any reference you can point to that |
Unfortunately I don't have that handy, but I remember hearing about it on
the Chef Slack. They should be able to help you further.
On Apr 20, 2017 11:59 AM, "David F. Severski" <[email protected]> wrote:
Hey, @stormerider <https://github.com/stormerider>, thanks for the info. Is
there any reference you can point to that vagrant-omnibus is deprecated?
test-kitchen is great, but it's a different workflow and doesn't seem a
drop in replacement for development VMs vs. the testing out of CM cookbooks
and the like where kitchen shines. Appreciate any pointers you may have!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#118 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALVnphhhewBZnjEDmUY2uSdtj-Ju6_zks5rx6sJgaJpZM4D1iWT>
.
|
When installing Chef on a Windows machine, we download it with this command install_chef.rb#L217:
The default URL for Windows from #default_install_url is
'http://www.getchef.com/chef/install.msi'
So we end up with a URL like: http://www.getchef.com/chef/install.msi?v=12.0.0, but this is only giving us the latest version. If we use http://www.opscode.com/chef/install.msi?v=12.0.0, it gives us the correct version. This is likely due to some ChefInc domains moving to a CDN.
It looks like the nginx configuration still contains:
I guess that somehow converts the ?v=12.0.0 into &v=12.0.0 and appends it as part of the rewrite?
Possible fixes:
The text was updated successfully, but these errors were encountered: