{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/882","labels_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/882/comments","events_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/882/events","html_url":"https://github.com/test-kitchen/test-kitchen/issues/882","id":119344255,"number":882,"title":"(Win2012r2) Chef-client version to install seems to be ignored","user":{"login":"vinyar","id":5116939,"avatar_url":"https://avatars.githubusercontent.com/u/5116939?v=3","gravatar_id":"","url":"https://api.github.com/users/vinyar","html_url":"https://github.com/vinyar","followers_url":"https://api.github.com/users/vinyar/followers","following_url":"https://api.github.com/users/vinyar/following{/other_user}","gists_url":"https://api.github.com/users/vinyar/gists{/gist_id}","starred_url":"https://api.github.com/users/vinyar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinyar/subscriptions","organizations_url":"https://api.github.com/users/vinyar/orgs","repos_url":"https://api.github.com/users/vinyar/repos","events_url":"https://api.github.com/users/vinyar/events{/privacy}","received_events_url":"https://api.github.com/users/vinyar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-29T07:18:34Z","updated_at":"2015-12-04T23:33:47Z","closed_at":null,"body":"__Bug:__\r\nIt doesn't seem to matter what version is specified in the .kitchen.yml file. That version is reported as having been detected.\r\n\r\n__Example:__\r\n.kitchen.yml\r\n```yml\r\n---\r\ndriver:\r\n  name: vagrant\r\nprovisioner:\r\n  require_chef_omnibus: 57.24.0\r\nplatforms:\r\n  - name: win2012_chef11_14_2\r\nsuites:\r\n  - name: default\r\n    run_list:\r\n      - recipe[ces_chefworkstation::default]\r\n    attributes:\r\n```\r\noutput:\r\n```ruby\r\n-----> Converging <default-win2012-chef11-14-2>...\r\n       Preparing files for transfer\r\n       Preparing dna.json\r\n       Resolving cookbook dependencies with Berkshelf 4.0.1...\r\n       Removing non-cookbook files before transfer\r\n       Preparing solo.rb\r\n-----> Chef Omnibus installation detected (57.24.0)\r\n       Transferring files to <default-win2012-chef11-14-2>\r\n....\r\n       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r\n       Starting Chef Client, version 11.14.2\r\n       Compiling Cookbooks...\r\n```\r\n\r\n__Dev env info:__\r\n$ chef -v\r\nChef Development Kit Version: 0.10.0\r\nchef-client version: 12.5.1\r\nberks version: 4.0.1\r\nkitchen version: 1.4.2\r\n$ vagrant plugin list\r\nkitchen-nodes (0.5.0)\r\nvagrant-azure (1.3.0)\r\nvagrant-berkshelf (4.1.0)\r\nvagrant-cachier (1.2.1)\r\nvagrant-omnibus (1.4.1)\r\nvagrant-share (1.1.4, system)\r\nvagrant-winrm (0.7.0)\r\n\r\nNotes:\r\n*  :latest resolves to correct latest version available on chef.io, however the error remains the same.\r\n*  I poked around the code, and didnt see anything obvious. chef-solo -v returns correct version presently on the box `11.14.2` (https://github.com/chef/vagrant-omnibus/blob/00c19b5ba0c76c2a1684580d4c0c9db4703f0fd7/lib/vagrant-omnibus/action/install_chef.rb#L139)\r\n* complete guess, but perhaps the error is in this variable: https://github.com/chef/vagrant-omnibus/blob/00c19b5ba0c76c2a1684580d4c0c9db4703f0fd7/lib/vagrant-omnibus/action/install_chef.rb#L45\r\n\r\nreference: https://github.com/chef/vagrant-omnibus/issues/125"},"comment":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/comments/162110186","html_url":"https://github.com/test-kitchen/test-kitchen/issues/882#issuecomment-162110186","issue_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/882","id":162110186,"user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T23:33:47Z","updated_at":"2015-12-04T23:33:47Z","body":"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 https://github.com/chef/mixlib-install/pull/21"}}