theforeman / foreman_hooks

Run custom hook scripts on Foreman events
http://m0dlx.com/blog/Extending_Foreman_quickly_with_hook_scripts.html
GNU General Public License v3.0
56 stars 50 forks source link

Hosts: Base versus Manged #59

Open bmagistro opened 5 years ago

bmagistro commented 5 years ago

When setting up a hook, I want this one to apply to all non discovered hosts regardless of if they are managed or not, I was trying to use host/base which host/managed inherits. In this scenario, it appears that host/base is not called. Specifically, I'm using after_destroy. Is this intentional? If so is there a way to setup a hook for all hosts or is it suggested to symlink to multiple paths host/base and host/managed?