{"action":"closed","issue":{"url":"https://api.github.com/repos/chef-cookbooks/docker/issues/621","repository_url":"https://api.github.com/repos/chef-cookbooks/docker","labels_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/621/comments","events_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/621/events","html_url":"https://github.com/chef-cookbooks/docker/issues/621","id":129867262,"number":621,"title":"2.4.7 Missing `coerce_shell_command' for DockerCookbook::DockerBase:Class under vagrant/chef-solo/berkshelf","user":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-01-29T19:56:20Z","updated_at":"2016-02-04T13:23:11Z","closed_at":"2016-02-04T13:23:11Z","body":"### Environment: \r\n\r\nRunning on Mac OSX 10.11.3, using VirtualBox:\r\nchef-solo -v\r\nChef: 12.6.0\r\nberks -v\r\n4.0.1\r\n\r\nvagrant version\r\nInstalled Version: 1.8.1\r\nLatest Version: 1.8.1\r\n \r\nvagrant plugin list\r\nvagrant-berkshelf (4.1.0)\r\nvagrant-share (1.1.5, system)\r\n\r\ndocker cookbook version 2.4.7\r\n\r\n\r\n### Scenario:\r\nDuring provisioning of a VM with vagrant/chef-solo the docker cookbook fails to load with a \r\nNoMethodError\r\nundefined method `coerce_shell_command' for DockerCookbook::DockerBase:Class\r\nFull traceback can be seen here: \r\nhttps://gist.github.com/evansde77/8901a70e8c31dd718146#file-chef-output\r\n\r\nAt first I suspected this was something I had done, so I stripped it down and reproduced the issue in a bare new berks cookbook just by adding the docker cookbook as a dependency in the metadata.rb for the cookbook and provisioning. \r\nReverting the docker cookbook version from 2.4.7 to 2.4.5 allowed provisioning to proceed. \r\n\r\n### Steps to Reproduce:\r\nI outlined the steps to reproduce this in this gist:\r\n\r\nhttps://gist.github.com/evansde77/8901a70e8c31dd718146\r\n\r\nEssentially, adding the docker cookbook dependency to the metadata.rb triggers the problem \r\n\r\n### Expected Result:\r\n\r\nAdding the cookbook as a dependency should let the cookbook compile during the chef run. \r\n\r\n### Actual Result:\r\n\r\nProvisioning step fails with the traceback linked above "}}