Open uyo1787 opened 6 years ago
Something changed in 'ondrej' ppa. For 16.04 'libgd2-xpm-dev' should be replaced by 'libgd-dev' (comes from same ondrej ppa).
@vills is it possible replace it in 3.0.2 release? Otherwise I need to update my version to 4.0.0 where I don't see any 'os_packages' for 16.04.
In 4.0.0 those 'os_packages' where moved to 'icingaweb2' cookbook. About upgrade in 3.0.2 - @vkhatri ?
@vills thanks for your response. I'm trying now latest v4.0.0. Looks like package installation completed.
Finally installed it for 16.04. Some of my cookbooks recipes from v2.x.x are not working anymore. I mean this one for example:
default['mynode']['icinga2']['plugins']['packages'] = %w( nagios-plugins-mysql nagios-plugins-dns nagios-plugins-nrpe nagios-plugins-oracle nagios-plugins-http nagios-plugins-tcp nagios-plugins-smtp)
...
node['mynode']['icinga2']['plugins']['packages'].each do |plugin|
package plugin
end
And since 'os_packages' where moved to 'icingaweb2' cookbook for me there is no option to enable web UI at 16.04.
Neither 3.0.1 no 4.0.0 is not working fro 16.04. Could someone give me a hint how to fix it?
Not sure about the plugins packages reference, plugins are not installed by the icinga2 cookbooks.
What do you mean by Neither 3.0.1 nor 4.0.0 is working for 16.04
? Could you share the chef-client run error output and the expected behavior? So that I can take a look at it.
the main issue for v3.0.1 is is present above:
Package libgd2-xpm-dev is a virtual package provided by:
libgd-dev 2.1.1-4ubuntu0.16.04.8 [Not candidate version]
libgd-dev 2.1.1-4build2 [Not candidate version]
and as mentioned by @vills it should be replaced by 'libgd-dev'.
for v4.0.0 the same issue comes after:
include_recipe 'icingaweb2::default'
For me now only v4.0.0 is working but without 'icingaweb2'
Thank you, will look into it.
I'm using "icinga2::server" recipe at ubuntu 16.04 and get
"icinga2": "~> 3.0.1"