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

Kibana installation failing because of systemd dependency #39

Open sn-dp opened 6 years ago

sn-dp commented 6 years ago
Error executing action `configure` on resource 'kibana5_configure[kibana]'

NoMethodError
-------------
undefined method `description' for Custom resource systemd_service from cookbook systemd

Cookbook Trace:
---------------
/var/chef/cache/cookbooks/kibana5/resources/configure.rb:34:in `block (2 levels) in class_from_file'
/var/chef/cache/cookbooks/kibana5/resources/configure.rb:33:in `block in class_from_file'

Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/kibana5/recipes/default.rb

 21: kibana5_configure 'kibana' do
 22:   configuration 'server.port' => node['kibana5']['config']['server.port'],
 23:                 'server.host' => node['kibana5']['config']['server.host'],
 24:                 'elasticsearch.url' => node['kibana5']['config']['elasticsearch.url'],
 25:                 'logging.dest' => node['kibana5']['config']['logging.dest']
 26: end
anuriq commented 6 years ago

Hi @sn-dp Are you sure, you are using latest version of this cookbook and systemd cookbook?

TheKatarGit commented 6 years ago

@sn-dp this issue will be fixed in #37

sn-dp commented 6 years ago

Hi @anuriq systemd version in locked to a specific version. I 'm able to replicate issue with systemd cookbook version being (3.2.3)

Hi @TheKatarGit

37 did fixed issue. However, a small change to xpack config is done to install kibana 6.2.3.

TheKatarGit commented 6 years ago

@sn-dp could you please clarify what change is required?