{"action":"created","issue":{"url":"https://api.github.com/repos/stajkowski/php5-fpm/issues/6","labels_url":"https://api.github.com/repos/stajkowski/php5-fpm/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/stajkowski/php5-fpm/issues/6/comments","events_url":"https://api.github.com/repos/stajkowski/php5-fpm/issues/6/events","html_url":"https://github.com/stajkowski/php5-fpm/issues/6","id":53811854,"number":6,"title":"Incompatible with Chef 11.10.4 and earlier","user":{"login":"mike-spainhower","id":2624357,"avatar_url":"https://avatars.githubusercontent.com/u/2624357?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-spainhower","html_url":"https://github.com/mike-spainhower","followers_url":"https://api.github.com/users/mike-spainhower/followers","following_url":"https://api.github.com/users/mike-spainhower/following{/other_user}","gists_url":"https://api.github.com/users/mike-spainhower/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-spainhower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-spainhower/subscriptions","organizations_url":"https://api.github.com/users/mike-spainhower/orgs","repos_url":"https://api.github.com/users/mike-spainhower/repos","events_url":"https://api.github.com/users/mike-spainhower/events{/privacy}","received_events_url":"https://api.github.com/users/mike-spainhower/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-08T22:50:57Z","updated_at":"2015-01-08T23:19:55Z","closed_at":null,"body":"Since the `0.3.3` version of this cookbook, the cookbook metadata has included attributes with `type` `boolean`.  This was not a valid `type` in Chef versions 11.10.4 and earlier (See https://github.com/opscode/chef/blob/11.10.4/lib/chef/cookbook/metadata.rb#L394).\r\n\r\nThe main reason this is a bummer is that AWS OpsWorks just happens to use Chef 11.10.4.  This results in the following when you try to converge:\r\n\r\n```\r\n[2015-01-08T19:40:18+00:00] ERROR: Could not read /opt/aws/opsworks/current/merged-cookbooks/php5-fpm into a Chef object: Option type must be equal to one of: string, array, hash, symbol!  You passed \"boolean\".\r\n[2015-01-08T19:40:18+00:00] ERROR: #<NoMethodError: undefined method `to_hash' for nil:NilClass>\r\n/opt/aws/opsworks/releases/20141216163306_33300020141216163306/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/chef_fs/chef_fs_data_store.rb:85:in `block in get'\r\n```\r\n\r\nIt is completely valid for this to be a `wontfix`, but I wanted you to be aware of this issue and document it for others that run into this.  A compatibility warning in the README may also be nice (happy to PR)."},"comment":{"url":"https://api.github.com/repos/stajkowski/php5-fpm/issues/comments/69268415","html_url":"https://github.com/stajkowski/php5-fpm/issues/6#issuecomment-69268415","issue_url":"https://api.github.com/repos/stajkowski/php5-fpm/issues/6","id":69268415,"user":{"login":"stajkowski","id":7319495,"avatar_url":"https://avatars.githubusercontent.com/u/7319495?v=3","gravatar_id":"","url":"https://api.github.com/users/stajkowski","html_url":"https://github.com/stajkowski","followers_url":"https://api.github.com/users/stajkowski/followers","following_url":"https://api.github.com/users/stajkowski/following{/other_user}","gists_url":"https://api.github.com/users/stajkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/stajkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stajkowski/subscriptions","organizations_url":"https://api.github.com/users/stajkowski/orgs","repos_url":"https://api.github.com/users/stajkowski/repos","events_url":"https://api.github.com/users/stajkowski/events{/privacy}","received_events_url":"https://api.github.com/users/stajkowski/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T23:19:55Z","updated_at":"2015-01-08T23:19:55Z","body":"This fortunately is only for visual appeal in Chef Server. I can actually change the attribute type in Metadata without harming anything else in the cookbook.  I'll go ahead an change it to String as it doesn't really matter."}}