{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/199","labels_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/199/comments","events_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/199/events","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/199","id":48691600,"number":199,"title":"Setting statuses on individual ElasticSearch instances","user":{"login":"reamer77","id":4692334,"avatar_url":"https://avatars.githubusercontent.com/u/4692334?v=3","gravatar_id":"","url":"https://api.github.com/users/reamer77","html_url":"https://github.com/reamer77","followers_url":"https://api.github.com/users/reamer77/followers","following_url":"https://api.github.com/users/reamer77/following{/other_user}","gists_url":"https://api.github.com/users/reamer77/gists{/gist_id}","starred_url":"https://api.github.com/users/reamer77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reamer77/subscriptions","organizations_url":"https://api.github.com/users/reamer77/orgs","repos_url":"https://api.github.com/users/reamer77/repos","events_url":"https://api.github.com/users/reamer77/events{/privacy}","received_events_url":"https://api.github.com/users/reamer77/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":2,"created_at":"2014-11-13T21:04:19Z","updated_at":"2015-01-30T10:43:40Z","closed_at":null,"body":"I have a master instance and a data instance.  I'd like the master instance to start on boot, and the data instance to be started later (preferably by a cluster management script).  I was trying \r\n\r\n  elasticsearch::instance { 'es-master':\r\n    status => 'enabled'\r\n  }\r\n\r\n  elasticsearch::instance { 'es-0':\r\n    status => 'running'\r\n  }\r\n\r\nHowever, it looks like the \"status\" value set in ::elasticsearch does not get overridden by the instance values.  Not specifying a \"status\" value in ::elasticsearch seems to default to \"enabled\".  Is it possible to set unique statuses per instance?\r\n\r\nThanks! "},"comment":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/comments/72183367","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/199#issuecomment-72183367","issue_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/199","id":72183367,"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-30T10:43:40Z","updated_at":"2015-01-30T10:43:40Z","body":"Hi,\r\n\r\nI've done a test by setting the status to `enabled` on the main class and to `running` and then evaluated the actual settings for the service and it appears to work as expected.\r\nIt sets the service to running but without enabling it."}}