{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/249","labels_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/249/comments","events_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/249/events","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/249","id":55529803,"number":249,"title":"config parameter works only for instance types, but not the class","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":2,"created_at":"2015-01-26T20:01:19Z","updated_at":"2015-01-26T21:29:21Z","closed_at":null,"body":"Hi,\r\n\r\nThis does nothing:\r\n```\r\nclass { 'elasticsearch':\r\n  ... other settings\r\n  config => {'http.cors.enabled' => 'true'},\r\n}\r\n```\r\n\r\nWhereas this works\r\n```\r\nelasticsearch::instance { 'test-elasticsearch':\r\n  config => {'http.cors.enabled' => 'true'},\r\n}\r\n```\r\n\r\nCan you please confirm this?\r\nThat is the only reason why I am using es instances - to put settings into effect.\r\n\r\nThanks,\r\nGin"},"comment":{"url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/comments/71542030","html_url":"https://github.com/elasticsearch/puppet-elasticsearch/issues/249#issuecomment-71542030","issue_url":"https://api.github.com/repos/elasticsearch/puppet-elasticsearch/issues/249","id":71542030,"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},"created_at":"2015-01-26T21:29:21Z","updated_at":"2015-01-26T21:29:21Z","body":"I thought I can set \"global\" elasticsearch configuration in the class and then make it fine grain in instances.\r\n\r\nThanks."}}