Unconfigured puppetdb_foreman doesn't show error messages
An user has puppetdb_foreman installed, but not configured:
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
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.
#2 Updated by Dominic Cleal about 6 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