{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3888","repository_url":"https://api.github.com/repos/chef/chef","labels_url":"https://api.github.com/repos/chef/chef/issues/3888/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3888/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3888/events","html_url":"https://github.com/chef/chef/issues/3888","id":105259389,"number":3888,"title":"knife cookbook site share doesn't work","user":{"login":"daften","id":1221024,"avatar_url":"https://avatars.githubusercontent.com/u/1221024?v=3","gravatar_id":"","url":"https://api.github.com/users/daften","html_url":"https://github.com/daften","followers_url":"https://api.github.com/users/daften/followers","following_url":"https://api.github.com/users/daften/following{/other_user}","gists_url":"https://api.github.com/users/daften/gists{/gist_id}","starred_url":"https://api.github.com/users/daften/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daften/subscriptions","organizations_url":"https://api.github.com/users/daften/orgs","repos_url":"https://api.github.com/users/daften/repos","events_url":"https://api.github.com/users/daften/events{/privacy}","received_events_url":"https://api.github.com/users/daften/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/chef/chef/milestones/13","html_url":"https://github.com/chef/chef/milestones/Accepted%20Minor","labels_url":"https://api.github.com/repos/chef/chef/milestones/13/labels","id":975715,"number":13,"title":"Accepted Minor","description":"Bucket to pull issues from for next minor","creator":{"login":"lamont-granquist","id":454857,"avatar_url":"https://avatars.githubusercontent.com/u/454857?v=3","gravatar_id":"","url":"https://api.github.com/users/lamont-granquist","html_url":"https://github.com/lamont-granquist","followers_url":"https://api.github.com/users/lamont-granquist/followers","following_url":"https://api.github.com/users/lamont-granquist/following{/other_user}","gists_url":"https://api.github.com/users/lamont-granquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lamont-granquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamont-granquist/subscriptions","organizations_url":"https://api.github.com/users/lamont-granquist/orgs","repos_url":"https://api.github.com/users/lamont-granquist/repos","events_url":"https://api.github.com/users/lamont-granquist/events{/privacy}","received_events_url":"https://api.github.com/users/lamont-granquist/received_events","type":"User","site_admin":false},"open_issues":293,"closed_issues":116,"state":"open","created_at":"2015-02-11T18:42:48Z","updated_at":"2016-05-31T17:30:07Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-09-07T19:17:47Z","updated_at":"2016-06-01T16:15:08Z","closed_at":null,"body":"I'm getting the error when trying to release a new version for the aegir3 cookbook (https://github.com/daften/cookbook-aegir3):\r\n```\r\nERROR: knife encountered an unexpected error\r\nThis may be a bug in the 'cookbook site share' knife command or plugin\r\nPlease collect the output of this command with the `-VV` option before filing a bug report.\r\nException: NameError: undefined local variable or method `method_name' for Chef::Cookbook::Metadata:Class\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/223044731","html_url":"https://github.com/chef/chef/issues/3888#issuecomment-223044731","issue_url":"https://api.github.com/repos/chef/chef/issues/3888","id":223044731,"user":{"login":"dfduarte","id":12836366,"avatar_url":"https://avatars.githubusercontent.com/u/12836366?v=3","gravatar_id":"","url":"https://api.github.com/users/dfduarte","html_url":"https://github.com/dfduarte","followers_url":"https://api.github.com/users/dfduarte/followers","following_url":"https://api.github.com/users/dfduarte/following{/other_user}","gists_url":"https://api.github.com/users/dfduarte/gists{/gist_id}","starred_url":"https://api.github.com/users/dfduarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfduarte/subscriptions","organizations_url":"https://api.github.com/users/dfduarte/orgs","repos_url":"https://api.github.com/users/dfduarte/repos","events_url":"https://api.github.com/users/dfduarte/events{/privacy}","received_events_url":"https://api.github.com/users/dfduarte/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T16:15:08Z","updated_at":"2016-06-01T16:15:08Z","body":"Nevermind guys, it works! Thanks @andy-dufour.\r\n\r\nThe problem here was: I use a MacOS Captain here, and for some reason, Chef-DK copies itself for 2 different folders. In my case, I has the same metadata file in:\r\n\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/cookbook/metadata.rb\r\n/Users/xxxxxxx/.rvm/gems/ruby-2.2.1/gems/chef-12.7.2/lib/chef/cookbook/metadata.rb\r\n\r\nI think it's some problem with the way I've installed Chef for the first time (that time, I didn't use cask)"}}
{"actor":{"display_login":"dfduarte"}}