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

Request additional JSON data be passed to hooks #3

Closed domcleal closed 8 years ago

domcleal commented 11 years ago

(From @grimme-atix-de)

Currently the JSON representation of the object receiving the event is passed into the hook, but it would be good to pass in additional related data such as host parameters.

paulcalabro commented 10 years ago

:+1:

domcleal commented 8 years ago

This should now happen, it's using the same output as the host show API which includes all parameters.