{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/242","labels_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/242/comments","events_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/242/events","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/242","id":54935064,"number":242,"title":"puppet sets binary /usr/share/elasticsearch/bin/elasticsearch to mode 0644","user":{"login":"mmarseglia","id":6463674,"avatar_url":"https://avatars.githubusercontent.com/u/6463674?v=3","gravatar_id":"","url":"https://api.github.com/users/mmarseglia","html_url":"https://github.com/mmarseglia","followers_url":"https://api.github.com/users/mmarseglia/followers","following_url":"https://api.github.com/users/mmarseglia/following{/other_user}","gists_url":"https://api.github.com/users/mmarseglia/gists{/gist_id}","starred_url":"https://api.github.com/users/mmarseglia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmarseglia/subscriptions","organizations_url":"https://api.github.com/users/mmarseglia/orgs","repos_url":"https://api.github.com/users/mmarseglia/repos","events_url":"https://api.github.com/users/mmarseglia/events{/privacy}","received_events_url":"https://api.github.com/users/mmarseglia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-20T20:28:51Z","updated_at":"2015-01-20T21:55:21Z","closed_at":null,"body":"Hi,\r\n\r\n  We're using latest and it appears puppet sets the binary /usr/share/elasticsearch/bin/elasticsearch to mode 0644.\r\n\r\n  In the elasticsearch init script\r\n`exec=\"/usr/share/elasticsearch/bin/elasticsearch\"`\r\n\r\n  Further down the init script checks to see if exec is executable and if not, fails.\r\n`start() {\r\n    checkJava\r\n    [ -x $exec ] || exit 5`\r\n\r\n  When I change the file mode myself, I see puppet module Elasticsearch::Config changing it to 0644 when I run the agent in debug mode:\r\n> Notice: /Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/bin/elasticsearch]/mode: current_value 0755, should be 0644 (noop)"},"comment":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/comments/70742099","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/242#issuecomment-70742099","issue_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/242","id":70742099,"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":"2015-01-20T21:55:21Z","updated_at":"2015-01-20T21:55:21Z","body":"Hi is this with the latest release or master brarch ?"}}