{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/delivery_build/issues/3","labels_url":"https://api.github.com/repos/chef-cookbooks/delivery_build/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/delivery_build/issues/3/comments","events_url":"https://api.github.com/repos/chef-cookbooks/delivery_build/issues/3/events","html_url":"https://github.com/chef-cookbooks/delivery_build/pull/3","id":120644904,"number":3,"title":"Convert ImmutableArray to array for yaml conversion","user":{"login":"ncerny","id":4643765,"avatar_url":"https://avatars.githubusercontent.com/u/4643765?v=3","gravatar_id":"","url":"https://api.github.com/users/ncerny","html_url":"https://github.com/ncerny","followers_url":"https://api.github.com/users/ncerny/followers","following_url":"https://api.github.com/users/ncerny/following{/other_user}","gists_url":"https://api.github.com/users/ncerny/gists{/gist_id}","starred_url":"https://api.github.com/users/ncerny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncerny/subscriptions","organizations_url":"https://api.github.com/users/ncerny/orgs","repos_url":"https://api.github.com/users/ncerny/repos","events_url":"https://api.github.com/users/ncerny/events{/privacy}","received_events_url":"https://api.github.com/users/ncerny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T16:47:03Z","updated_at":"2015-12-06T17:06:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef-cookbooks/delivery_build/pulls/3","html_url":"https://github.com/chef-cookbooks/delivery_build/pull/3","diff_url":"https://github.com/chef-cookbooks/delivery_build/pull/3.diff","patch_url":"https://github.com/chef-cookbooks/delivery_build/pull/3.patch"},"body":"The cookbook lays down the following gemrc file:\r\n```\r\n---\r\n:benchmark: false\r\n:verbose: true\r\n:update_sources: true\r\ngem: \"--no-rdoc --no-ri\"\r\ninstall: \"--no-user-install\"\r\n:sources: !ruby/array:Chef::Node::ImmutableArray\r\n- http://rubygems.org/\r\n- http://gems.github.com/\r\n:backtrace: true\r\n:bulk_threshold: 1000\r\n```\r\nThis breaks chef-client runs because that is not a valid gemrc.\r\n\r\nThis is happening because arrays and hashes that are on the node object are cast to Immutable objects.  We need to explicitly convert this back to an array to let to_yaml handle it appropriately."},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/delivery_build/issues/comments/162329548","html_url":"https://github.com/chef-cookbooks/delivery_build/pull/3#issuecomment-162329548","issue_url":"https://api.github.com/repos/chef-cookbooks/delivery_build/issues/3","id":162329548,"user":{"login":"seth","id":1619,"avatar_url":"https://avatars.githubusercontent.com/u/1619?v=3","gravatar_id":"","url":"https://api.github.com/users/seth","html_url":"https://github.com/seth","followers_url":"https://api.github.com/users/seth/followers","following_url":"https://api.github.com/users/seth/following{/other_user}","gists_url":"https://api.github.com/users/seth/gists{/gist_id}","starred_url":"https://api.github.com/users/seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seth/subscriptions","organizations_url":"https://api.github.com/users/seth/orgs","repos_url":"https://api.github.com/users/seth/repos","events_url":"https://api.github.com/users/seth/events{/privacy}","received_events_url":"https://api.github.com/users/seth/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T17:06:50Z","updated_at":"2015-12-06T17:06:50Z","body":"Thanks for this. We have a pipeline for this cookbook in deliver, so we'll work with you to get this over there. \n\n\n"}}