Skip to content

RedHatSatellite/satellite-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.