{"action":"closed","issue":{"url":"https://api.github.com/repos/vkhatri/chef-elasticsearch-cluster/issues/23","labels_url":"https://api.github.com/repos/vkhatri/chef-elasticsearch-cluster/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/vkhatri/chef-elasticsearch-cluster/issues/23/comments","events_url":"https://api.github.com/repos/vkhatri/chef-elasticsearch-cluster/issues/23/events","html_url":"https://github.com/vkhatri/chef-elasticsearch-cluster/issues/23","id":97353605,"number":23,"title":"Consider using directory-based plugin detection","user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vkhatri/chef-elasticsearch-cluster/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/vkhatri/chef-elasticsearch-cluster/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"vkhatri","id":1197766,"avatar_url":"https://avatars.githubusercontent.com/u/1197766?v=3","gravatar_id":"","url":"https://api.github.com/users/vkhatri","html_url":"https://github.com/vkhatri","followers_url":"https://api.github.com/users/vkhatri/followers","following_url":"https://api.github.com/users/vkhatri/following{/other_user}","gists_url":"https://api.github.com/users/vkhatri/gists{/gist_id}","starred_url":"https://api.github.com/users/vkhatri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkhatri/subscriptions","organizations_url":"https://api.github.com/users/vkhatri/orgs","repos_url":"https://api.github.com/users/vkhatri/repos","events_url":"https://api.github.com/users/vkhatri/events{/privacy}","received_events_url":"https://api.github.com/users/vkhatri/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-07-26T22:02:24Z","updated_at":"2015-08-13T13:29:03Z","closed_at":"2015-08-13T13:29:03Z","body":"Currently this cookbook tries to use `bind_host` to contact ES node to fetch installed plugin list. This has plenty of edge cases that are completely ignored:\r\n\r\n * When deploying an AMI build with Packer and `chef-solo`, `bind_host` will be a local domain on first Chef run.\r\n * The value can be `0.0.0.0`\r\n * ElasticSearch supports [special values](https://www.elastic.co/guide/en/elasticsearch/reference/1.6/modules-network.html) that are not valid IP addresses at all\r\n\r\nI think the right thing to do would be to use directory-driven plugin detection instead of trying to contact the node."}}