Puppet-kibana module and kibana.yaml


#1

Hi

In puppet templates, the following is what we defined.
class { 'kibana':
ensure => $elastic_version,
manage_repo => false,
config => {
.....
'elasticsearch.url' => 'https://localhost:9200',
........

what we get in the generated kibana.yaml is as follows.
....
elasticsearch.url: https://localhost:9200
....

I think the correct one in the kibana.yaml should be as follows.

elasticsearch.url: "https://localhost:9200"

However, kibana works fine with this file. Could someone please shed light on it?

Thanks in advance!
xzhou


(Bhavya R M) #2

@tiagocosta ?

Thanks,
Bhavya


(Tiago Costa) #3

@xzhou I would say that in this case use the quotes or not will produce the same result. However be aware that is a secure practice to use quotes in yaml strings as yaml has a lot of little caveats around strings (like for example the reserved indicators).


#4

Thanks!