-
Notifications
You must be signed in to change notification settings - Fork 585
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
(Win2012r2) Chef-client version to install seems to be ignored #882
Comments
This appears to be a duplicate of #847. |
yeah this definitely seems broken. However as of current kitchen master and future releases, the bug resides in the mixlib/install gem and a fix is in chef/mixlib-install#21 |
Blocked on chef/mixlib-install#21 |
Closing as it's a dupe of #882 |
@cheeseplus This is #882. Did you mean to close this a duplicate of #847? |
@cheeseplus I just tested this with latest chefdk - and I'm getting same behavior.
|
I just tried this on: And a provisoner config:
The provisioner successful downloaded and installed chef v12.5.1. |
@mwrock can you try setting the installer to lets say 12.1, run a converge, then set it to 12.5, or even something non existent as in the example? Perhaps the difference is that I'm starting out with a windows box that has 11.14 installed. There's gotta be something different between our setups.
|
I get this:
Have you tried with TK 1.6.0? And what version of mixlib-install do you have? |
with TK 1.6 I get the expected behavior |
Bug:
It doesn't seem to matter what version is specified in the .kitchen.yml file. That version is reported as having been detected.
Example:
.kitchen.yml
output:
Dev env info:
$ chef -v
Chef Development Kit Version: 0.10.0
chef-client version: 12.5.1
berks version: 4.0.1
kitchen version: 1.4.2
$ vagrant plugin list
kitchen-nodes (0.5.0)
vagrant-azure (1.3.0)
vagrant-berkshelf (4.1.0)
vagrant-cachier (1.2.1)
vagrant-omnibus (1.4.1)
vagrant-share (1.1.4, system)
vagrant-winrm (0.7.0)
Notes:
11.14.2
(https://github.com/chef/vagrant-omnibus/blob/00c19b5ba0c76c2a1684580d4c0c9db4703f0fd7/lib/vagrant-omnibus/action/install_chef.rb#L139)reference: chef-boneyard/vagrant-omnibus#125
The text was updated successfully, but these errors were encountered: