Puppet-kibana module and kibana.yaml

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

@tiagocosta ?

Thanks,
Bhavya

@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).

1 Like

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.