{"action":"created","issue":{"url":"https://api.github.com/repos/lesaux/puppet-kibana4/issues/35","labels_url":"https://api.github.com/repos/lesaux/puppet-kibana4/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/lesaux/puppet-kibana4/issues/35/comments","events_url":"https://api.github.com/repos/lesaux/puppet-kibana4/issues/35/events","html_url":"https://github.com/lesaux/puppet-kibana4/issues/35","id":121191451,"number":35,"title":"Kibana 4.2.1 startup fails due to not accepted configuration parameter","user":{"login":"dka23","id":294389,"avatar_url":"https://avatars.githubusercontent.com/u/294389?v=3","gravatar_id":"","url":"https://api.github.com/users/dka23","html_url":"https://github.com/dka23","followers_url":"https://api.github.com/users/dka23/followers","following_url":"https://api.github.com/users/dka23/following{/other_user}","gists_url":"https://api.github.com/users/dka23/gists{/gist_id}","starred_url":"https://api.github.com/users/dka23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dka23/subscriptions","organizations_url":"https://api.github.com/users/dka23/orgs","repos_url":"https://api.github.com/users/dka23/repos","events_url":"https://api.github.com/users/dka23/events{/privacy}","received_events_url":"https://api.github.com/users/dka23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-09T09:08:21Z","updated_at":"2015-12-10T20:02:53Z","closed_at":"2015-12-10T20:02:53Z","body":"After setting up kibana4 (version 4.2.1) with the kibana4 puppet module, kibana does not start due to unsupported parameter \"server.basePath\". Error message:\r\n\r\n```\r\nFATAL { [ValidationError: child \"server\" fails because [\"basePath\" is not allowed]]\r\n  name: 'ValidationError',\r\n  details:\r\n   [ { message: '\"basePath\" is not allowed',\r\n       path: 'server.basePath',\r\n       type: 'object.allowUnknown',\r\n       context: [Object] } ],\r\n  _object:\r\n   { pkg:\r\n      { version: '4.2.1',\r\n        buildNum: 9019,\r\n        buildSha: '6584c6650d636df91957de2f16332b976ee719d1' },\r\n     pid: { file: '/var/run/kibana.pid', exclusive: false },\r\n     server:\r\n      { port: 5601,\r\n        host: '0.0.0.0',\r\n        xsrf: [Object],\r\n        basePath: 'undef',\r\n        ssl: [Object] } },\r\n  annotate: [Function] }\r\n```\r\n\r\nAccording to official docs (https://www.elastic.co/guide/en/kibana/4.2/kibana-server-properties.html) there is no such property supported (anymore?). \r\n\r\nAlso, setting it to the string \"undef\" also seems strange:\r\n```yaml\r\n# kibana configuration for 4.2. For a complete list of options please refer to:\r\n# https://www.elastic.co/guide/en/kibana/current/kibana-server-properties.html\r\n\r\n# Kibana is served by a back end server. This controls which port to use.\r\nserver.port: 5601\r\n\r\n# The host to bind the server to.\r\nserver.host: \"0.0.0.0\"\r\n\r\n# A value to use as a XSRF token. This token is sent back to the server on each request\r\n# and required if you want to execute requests from other clients (like curl).\r\nserver.xsrf.token: \"undef\"\r\n\r\n# If you are running kibana behind a proxy, and want to mount it at a path,\r\n# specify that path here. The basePath can't end in a slash.\r\nserver.basePath: \"undef\"\r\n```\r\n\r\nPossible solution: Do not add config properties to the file at all if they are set to \"undef\". I will create a PR and submit it."},"comment":{"url":"https://api.github.com/repos/lesaux/puppet-kibana4/issues/comments/163734740","html_url":"https://github.com/lesaux/puppet-kibana4/issues/35#issuecomment-163734740","issue_url":"https://api.github.com/repos/lesaux/puppet-kibana4/issues/35","id":163734740,"user":{"login":"lesaux","id":4226049,"avatar_url":"https://avatars.githubusercontent.com/u/4226049?v=3","gravatar_id":"","url":"https://api.github.com/users/lesaux","html_url":"https://github.com/lesaux","followers_url":"https://api.github.com/users/lesaux/followers","following_url":"https://api.github.com/users/lesaux/following{/other_user}","gists_url":"https://api.github.com/users/lesaux/gists{/gist_id}","starred_url":"https://api.github.com/users/lesaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesaux/subscriptions","organizations_url":"https://api.github.com/users/lesaux/orgs","repos_url":"https://api.github.com/users/lesaux/repos","events_url":"https://api.github.com/users/lesaux/events{/privacy}","received_events_url":"https://api.github.com/users/lesaux/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T20:02:53Z","updated_at":"2015-12-10T20:02:53Z","body":"a new version of the module has been released on the puppet forge.\r\nThe kibana.yml is now generated through a config hash."}}