Actions
Bug #6610
closedUnconfigured puppetdb_foreman doesn't show error messages
Description
An user has puppetdb_foreman installed, but not configured:
http://fpaste.org/118050/14054166/
Puppetdb_foreman will fail to get the SETTINGS[:puppetdb] and therefore host deletion will be stopped. https://github.com/theforeman/puppetdb_foreman/blob/master/app/models/puppetdb_foreman/host_extensions.rb#L25
Solution:
Make puppetdb_foreman show an error on the UI on host deletion. To avoid restarting the application, make this a configurable setting in the UI, not in the yaml file.
Also update puppetdb_foreman to make it register with Foreman instead of load it as an old plugin. This will require rebuilding gems/rpms/debs that included a sample settings.yaml.
Actions