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

Hook for instances power-on/power-off #37

Open DaveEzrakhovich opened 8 years ago

DaveEzrakhovich commented 8 years ago

It seems that i can't find any hook that allows me to run something after a machine (in my case either GCE/EC2 instance) power state changes from ON to OFF and vise versa

Plus it seems that i can reach the hooks under foreman/model/ec2