anuriq / chef-kibana5

Chef cookbook for installing Kibana 5.x.x
https://supermarket.chef.io/cookbooks/kibana5
Apache License 2.0
5 stars 15 forks source link

kibana5_configure doesn't pick up other settings #49

Closed Ellison001 closed 5 years ago

Ellison001 commented 5 years ago

Hi, I create a wrapper cookbook named abc-kibana which depends on kibana5(1.6.5). when I define attributes in abc-kibana as below, the default kibana5 recipe doesn't set the value for kibana.yml as expected. Please help.

abc-kibana/attributes/default.rb default['kibana5']['config']['elasticsearch.username'] = 'user1' default['kibana5']['config']['elasticsearch.password'] = 'pw1'

anuriq commented 5 years ago

Hi @Ellison001

how do you call kibana5 cookbook? could you send that part of code?

Ellison001 commented 5 years ago

Hi Anuriq, This issue is due to the kibana5 cookbook's ERB template doesn't pick up those values. I override the ERB template in my wrapper cookbook, the issue is fixed. BTW: I am using kibana-6.5.4.

anuriq commented 5 years ago

@Ellison001 could you clarify that issue is resolved, or there is still a problem?

Ellison001 commented 5 years ago

The issue is resolved.