I’m hoping to use foreman hooks to send host info (specifically host name and activation key name) whenever a content host is created or destroyed.
I’ve looked in ~foreman/app/models/ and used the
foreman-rake console > ActiveRecord::Base.descendants.collect(&:name).collect(&:underscore).sort
method to look at available foreman objects.
I originally created hooks in the host/managed/ path, but realized they were not triggering on content host creation. Is there any way I can support what I want to do?