{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/248","labels_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/248/comments","events_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/248/events","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/248","id":55529276,"number":248,"title":"instance settings do not override class settings","user":{"login":"gingaz","id":2790514,"avatar_url":"https://avatars.githubusercontent.com/u/2790514?v=3","gravatar_id":"","url":"https://api.github.com/users/gingaz","html_url":"https://github.com/gingaz","followers_url":"https://api.github.com/users/gingaz/followers","following_url":"https://api.github.com/users/gingaz/following{/other_user}","gists_url":"https://api.github.com/users/gingaz/gists{/gist_id}","starred_url":"https://api.github.com/users/gingaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gingaz/subscriptions","organizations_url":"https://api.github.com/users/gingaz/orgs","repos_url":"https://api.github.com/users/gingaz/repos","events_url":"https://api.github.com/users/gingaz/events{/privacy}","received_events_url":"https://api.github.com/users/gingaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T19:56:57Z","updated_at":"2015-01-26T20:22:18Z","closed_at":null,"body":"Hi Everyone,\r\n\r\nthe following example creates two disabled elasticsearch services. However, I would like to have \"test-elasticsearch' running and 'elasticsearch' - stopped.\r\n```\r\nclass { 'elasticsearch':\r\n  status       => 'disabled',\r\n}\r\nelasticsearch::instance { 'test-elasticsearch':\r\n  status => 'enabled',\r\n}\r\n```\r\n\r\nThe workaround is:\r\n```\r\nclass { 'elasticsearch':\r\n  status       => 'disabled',\r\n}->\r\nelasticsearch::instance { 'test-elasticsearch':\r\n  status => 'enabled',\r\n}->\r\nservice{ 'elasticsearch':\r\nstatus => disabled',\r\n}\r\n```\r\nCheers,\r\nGin"},"comment":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/comments/71530836","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/248#issuecomment-71530836","issue_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/248","id":71530836,"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-26T20:22:18Z","updated_at":"2015-01-26T20:22:18Z","body":"Hi,\r\n\r\nThe 'elasticsearch' instance will be removed in the next release and not managed.\r\nif you use 0.90.x I'm afraid there is no nice solution since 0.90.x packages automatically start up ES after installation."}}