{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/528","labels_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/528/comments","events_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/528/events","html_url":"https://github.com/elastic/puppet-elasticsearch/issues/528","id":122732659,"number":528,"title":"puppet-elasticsearch freezes with ES 2.1 on CentOS 6","user":{"login":"jmjansen","id":8931774,"avatar_url":"https://avatars.githubusercontent.com/u/8931774?v=3","gravatar_id":"","url":"https://api.github.com/users/jmjansen","html_url":"https://github.com/jmjansen","followers_url":"https://api.github.com/users/jmjansen/followers","following_url":"https://api.github.com/users/jmjansen/following{/other_user}","gists_url":"https://api.github.com/users/jmjansen/gists{/gist_id}","starred_url":"https://api.github.com/users/jmjansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmjansen/subscriptions","organizations_url":"https://api.github.com/users/jmjansen/orgs","repos_url":"https://api.github.com/users/jmjansen/repos","events_url":"https://api.github.com/users/jmjansen/events{/privacy}","received_events_url":"https://api.github.com/users/jmjansen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-12-17T13:15:50Z","updated_at":"2016-01-05T15:48:05Z","closed_at":null,"body":"To determine the version of the installed instance of ES '/usr/share/elasticsearch/bin/elasticsearch -v' is started. On ES 1.7 it returns the version, on ES 2.x it just runs ES and it does not return to puppet.\r\n\r\nAs a result the puppet run freezes ...\r\n\r\nWhen I remove the line 'version = es('-v') # ES 1.x' (and the 'rescue' line just below it) from the file lib/puppet/provider/elasticsearch_plugin/plugin.rb, puppet runs perfectly on my updated systems. Now it will freeze on systems not upgraded to 2.x though."},"comment":{"url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/comments/169040455","html_url":"https://github.com/elastic/puppet-elasticsearch/issues/528#issuecomment-169040455","issue_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/528","id":169040455,"user":{"login":"electrical","id":271677,"avatar_url":"https://avatars.githubusercontent.com/u/271677?v=3","gravatar_id":"","url":"https://api.github.com/users/electrical","html_url":"https://github.com/electrical","followers_url":"https://api.github.com/users/electrical/followers","following_url":"https://api.github.com/users/electrical/following{/other_user}","gists_url":"https://api.github.com/users/electrical/gists{/gist_id}","starred_url":"https://api.github.com/users/electrical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrical/subscriptions","organizations_url":"https://api.github.com/users/electrical/orgs","repos_url":"https://api.github.com/users/electrical/repos","events_url":"https://api.github.com/users/electrical/events{/privacy}","received_events_url":"https://api.github.com/users/electrical/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T15:48:05Z","updated_at":"2016-01-05T15:48:05Z","body":"@jmjansen i assume you run puppet as user root as well right?"}}