{"action":"created","issue":{"url":"https://api.github.com/repos/hectcastro/chef-collectd/issues/54","labels_url":"https://api.github.com/repos/hectcastro/chef-collectd/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/hectcastro/chef-collectd/issues/54/comments","events_url":"https://api.github.com/repos/hectcastro/chef-collectd/issues/54/events","html_url":"https://github.com/hectcastro/chef-collectd/pull/54","id":111893783,"number":54,"title":"Allow attribute-driven disabling of plugins.","user":{"login":"pdunnavant","id":782550,"avatar_url":"https://avatars.githubusercontent.com/u/782550?v=3","gravatar_id":"","url":"https://api.github.com/users/pdunnavant","html_url":"https://github.com/pdunnavant","followers_url":"https://api.github.com/users/pdunnavant/followers","following_url":"https://api.github.com/users/pdunnavant/following{/other_user}","gists_url":"https://api.github.com/users/pdunnavant/gists{/gist_id}","starred_url":"https://api.github.com/users/pdunnavant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdunnavant/subscriptions","organizations_url":"https://api.github.com/users/pdunnavant/orgs","repos_url":"https://api.github.com/users/pdunnavant/repos","events_url":"https://api.github.com/users/pdunnavant/events{/privacy}","received_events_url":"https://api.github.com/users/pdunnavant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-16T19:14:05Z","updated_at":"2015-10-17T19:05:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hectcastro/chef-collectd/pulls/54","html_url":"https://github.com/hectcastro/chef-collectd/pull/54","diff_url":"https://github.com/hectcastro/chef-collectd/pull/54.diff","patch_url":"https://github.com/hectcastro/chef-collectd/pull/54.patch"},"body":"This is a pretty simple change that just allows for an `enable` attribute within the plugin hash. The default behavior (nothing specified, so `nil`) will behave as before. So a `nil` or `true` value will perform a `:create` while any other value will perform a `:delete` action."},"comment":{"url":"https://api.github.com/repos/hectcastro/chef-collectd/issues/comments/148944597","html_url":"https://github.com/hectcastro/chef-collectd/pull/54#issuecomment-148944597","issue_url":"https://api.github.com/repos/hectcastro/chef-collectd/issues/54","id":148944597,"user":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T19:05:13Z","updated_at":"2015-10-17T19:05:13Z","body":"Could you talk a little about the problem this aims to solve? Seems like maybe providing a way to delete previously installed plugins via attributes?"}}