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.
Updated by Dominic Cleal over 9 years ago
- Project changed from Foreman to Plugins
- Category deleted (
Plugin integration)
Updated by Dominic Cleal over 9 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Fixed in puppetdb 0.0.6 and .7. 0.0.7 has been released as gem and RPM, debs in progress here: https://github.com/theforeman/foreman-packaging/pull/283