Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 638 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 638 Bytes

satellite-hooks

This repo holds hooks for Satellite, each directory is its own hook. See the sub-directories README for install instructions.

NOTE: If selinux is in enforcing mode, you will likely get denials: use audit2why & audit2allow to resolve these. Also ensure you run restorecon -RvF /usr/share/foreman/config/hooks after you install a Hook.

Troubleshooting

Foreman will usually run this script as the foreman user, we can use sudo -u foreman <PATH to HOOK> <EVENT> <OBJECT> to test it. See the foreman_hooks documentation for information regarding foreman_hooks.