{"action":"created","issue":{"url":"https://api.github.com/repos/berkshelf/vagrant-berkshelf/issues/293","repository_url":"https://api.github.com/repos/berkshelf/vagrant-berkshelf","labels_url":"https://api.github.com/repos/berkshelf/vagrant-berkshelf/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/berkshelf/vagrant-berkshelf/issues/293/comments","events_url":"https://api.github.com/repos/berkshelf/vagrant-berkshelf/issues/293/events","html_url":"https://github.com/berkshelf/vagrant-berkshelf/issues/293","id":110534743,"number":293,"title":"Support for the latest ChefDK (version 0.9.0) and Berkshelf v4","user":{"login":"phillipsnick","id":2021654,"avatar_url":"https://avatars.githubusercontent.com/u/2021654?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipsnick","html_url":"https://github.com/phillipsnick","followers_url":"https://api.github.com/users/phillipsnick/followers","following_url":"https://api.github.com/users/phillipsnick/following{/other_user}","gists_url":"https://api.github.com/users/phillipsnick/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipsnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipsnick/subscriptions","organizations_url":"https://api.github.com/users/phillipsnick/orgs","repos_url":"https://api.github.com/users/phillipsnick/repos","events_url":"https://api.github.com/users/phillipsnick/events{/privacy}","received_events_url":"https://api.github.com/users/phillipsnick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-10-08T20:28:33Z","updated_at":"2016-09-27T13:17:15Z","closed_at":"2015-10-08T20:44:30Z","body":"I have just updated to the latest ChefDK as I have been experiencing a few odd issues, while the update has resolved those issues it has now broken my Vagrant setup.\r\n\r\nIt appears to be because vagrant-berkshelf requires version 3 but the latest ChefDK ships with version 4.\r\n\r\n```\r\nThe Berkshelf version at \"/opt/chefdk/bin/berks\" is invalid.\r\nVagrant Berkshelf requires ~> 3.2, but the current version is 4.0.1.\r\n\r\nPlease download and install the latest version of the ChefDK from:\r\n\r\n    https://downloads.chef.io/chef-dk\r\n\r\nand follow the installation instructions. Do not forget to add the ChefDK to\r\nyour PATH.\r\n```\r\n\r\n```\r\n$ chef -v\r\nChef Development Kit Version: 0.9.0\r\nchef-client version: 12.5.1\r\nberks version: 4.0.1\r\nkitchen version: 1.4.2\r\n\r\n$ which berks\r\n/opt/chefdk/bin/berks\r\n```"},"comment":{"url":"https://api.github.com/repos/berkshelf/vagrant-berkshelf/issues/comments/249861726","html_url":"https://github.com/berkshelf/vagrant-berkshelf/issues/293#issuecomment-249861726","issue_url":"https://api.github.com/repos/berkshelf/vagrant-berkshelf/issues/293","id":249861726,"user":{"login":"davidcpell","id":1223820,"avatar_url":"https://avatars.githubusercontent.com/u/1223820?v=3","gravatar_id":"","url":"https://api.github.com/users/davidcpell","html_url":"https://github.com/davidcpell","followers_url":"https://api.github.com/users/davidcpell/followers","following_url":"https://api.github.com/users/davidcpell/following{/other_user}","gists_url":"https://api.github.com/users/davidcpell/gists{/gist_id}","starred_url":"https://api.github.com/users/davidcpell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidcpell/subscriptions","organizations_url":"https://api.github.com/users/davidcpell/orgs","repos_url":"https://api.github.com/users/davidcpell/repos","events_url":"https://api.github.com/users/davidcpell/events{/privacy}","received_events_url":"https://api.github.com/users/davidcpell/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T13:17:15Z","updated_at":"2016-09-27T13:17:15Z","body":"I'm having the same issue as @simsketch:\r\n\r\n\r\n```\r\n➜  centos vagrant plugin install vagrant-berkshelf\r\nInstalling the 'vagrant-berkshelf' plugin. This can take a few minutes...\r\nInstalled the plugin 'vagrant-berkshelf (5.0.0)'!\r\nPost install message from the 'vagrant-berkshelf' plugin:\r\n\r\nThe Vagrant Berkshelf plugin requires Berkshelf from the Chef Development Kit.\r\nYou can download the latest version of the Chef Development Kit from:\r\n\r\n    https://downloads.chef.io/chef-dk/\r\n\r\nInstalling Berkshelf via other methods is not officially supported.\r\n```\r\n\r\n```\r\n➜  centos vagrant provision\r\nThe following berks command failed to execute:\r\n\r\n    /Users/david/.rbenv/shims/berks --version --format json\r\n\r\nThe stdout and stderr are shown below:\r\n\r\n    stdout:\r\n    stderr: /Users/david/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'berkshelf' (>= 0) among 46 total gem(s) (Gem::LoadError)\r\nChecked in 'GEM_PATH=/opt/vagrant/embedded/gems', execute `gem env` for more information\r\n        from /Users/david/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'\r\n        from /Users/david/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'\r\n        from /Users/david/.rbenv/versions/2.2.2/bin/berks:22:in `<main>'\r\n\r\n\r\nIt appears that you are not using the ChefDK. Please note that Vagrant Berkshelf\r\nworks best when used with the ChefDK, and other installation methods are not\r\nofficially supported.\r\n\r\nPlease download and install the latest version of the ChefDK from:\r\n\r\n    https://downloads.chef.io/chef-dk\r\n\r\nand follow the installation instructions. Do not forget to add the ChefDK to\r\nyour PATH.\r\n```\r\n\r\n```\r\n➜  centos chef exec vagrant provision\r\nThe Berkshelf version at \"/opt/chefdk/bin/berks\" is invalid.\r\nVagrant Berkshelf requires ~> 4.0, but the current version is 5.1.0.\r\n\r\nPlease download and install the latest version of the ChefDK from:\r\n\r\n    https://downloads.chef.io/chef-dk\r\n\r\nand follow the installation instructions. Do not forget to add the ChefDK to\r\nyour PATH.\r\n```\r\n\r\n```\r\n➜  centos chef -v\r\nChef Development Kit Version: 0.18.26\r\nchef-client version: 12.14.89\r\ndelivery version: master (d86679335580be3de22996ef294b20d525889d8d)\r\nberks version: 5.1.0\r\nkitchen version: 1.12.0\r\n➜  centos vagrant -v\r\nVagrant 1.8.4\r\n```"}}
{"actor":{"display_login":"davidcpell"}}