{"action":"opened","issue":{"url":"https://api.github.com/repos/dev-sec/chef-os-hardening/issues/186","repository_url":"https://api.github.com/repos/dev-sec/chef-os-hardening","labels_url":"https://api.github.com/repos/dev-sec/chef-os-hardening/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/dev-sec/chef-os-hardening/issues/186/comments","events_url":"https://api.github.com/repos/dev-sec/chef-os-hardening/issues/186/events","html_url":"https://github.com/dev-sec/chef-os-hardening/issues/186","id":294784577,"number":186,"title":"compat_resource deprecated, remove from dependencies","user":{"login":"bablakely","id":2277811,"avatar_url":"https://avatars1.githubusercontent.com/u/2277811?v=4","gravatar_id":"","url":"https://api.github.com/users/bablakely","html_url":"https://github.com/bablakely","followers_url":"https://api.github.com/users/bablakely/followers","following_url":"https://api.github.com/users/bablakely/following{/other_user}","gists_url":"https://api.github.com/users/bablakely/gists{/gist_id}","starred_url":"https://api.github.com/users/bablakely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bablakely/subscriptions","organizations_url":"https://api.github.com/users/bablakely/orgs","repos_url":"https://api.github.com/users/bablakely/repos","events_url":"https://api.github.com/users/bablakely/events{/privacy}","received_events_url":"https://api.github.com/users/bablakely/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T14:44:39Z","updated_at":"2018-02-06T14:44:39Z","closed_at":null,"author_association":"NONE","body":"When trying to install/upload os-hardening (or compat_resource directly) with knife, it now fails with an error about basename in /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.6.4/lib/chef/knife/cookbook_site_download.rb:108. Upon further inspection, this appears to be a reference to the name of the replacement repository provided by the supermarket. In the case of compat_resource, there is none, so a \"no implicit conversion of nil into String (TypeError)\" is thrown at this line during the install of compat_resource and the whole process fails.  Thus os-hardening can no longer install cleanly (at least using knife). Fix is simply to remove the compat_resource dependency from metadata.rb, but this will break functionality for older clients."}}
{"actor":{"display_login":"bablakely"}}