Cannot install foreman-proxy-plugin-shellhooks

Running Foreman 3.11.2 on Rocky LInux 9. I tried to install foreman-proxy-plugin-shellhooks like this: foreman-installer --enable-foreman-proxy-plugin-shellhooks. I got the following output.

2025-01-20 21:19:47 [NOTICE] [root] Loading installer configuration. This will take some time.
2025-01-20 21:19:49 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2025-01-20 21:19:49 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2025-01-20 21:19:54 [NOTICE] [configure] Starting system configuration.
2025-01-20 21:20:01 [NOTICE] [configure] 250 configuration steps out of 1486 steps complete.
2025-01-20 21:20:01 [NOTICE] [configure] 500 configuration steps out of 1488 steps complete.
2025-01-20 21:20:04 [NOTICE] [configure] 750 configuration steps out of 1490 steps complete.
2025-01-20 21:20:04 [NOTICE] [configure] 1000 configuration steps out of 1496 steps complete.
2025-01-20 21:20:24 [NOTICE] [configure] 1250 configuration steps out of 1496 steps complete.
2025-01-20 21:20:34 [ERROR ] [configure] Proxy gp2us1opsfm01-main02a.example.net has failed to load one or more features (Shellhooks), check /var/log/foreman-proxy/proxy.log for configuration errors
2025-01-20 21:20:34 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[gp2us1opsfm01-main02a.example.net]/features: change from ["Ansible", "Dynflow", "Logs", "Pulpcore", "Script"] to ["Ansible", "Dynflow", "Logs", "Pulpcore", "Script", "Shellhooks"] failed: Proxy gp2us1opsfm01-main02a.example.net has failed to load one or more features (Shellhooks), check /var/log/foreman-proxy/proxy.log for configuration errors
2025-01-20 21:20:35 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[gp2us1opsfm01-main02a.example.net]: Failed to call refresh: Proxy gp2us1opsfm01-main02a.example.net has failed to load one or more features (Shellhooks), check /var/log/foreman-proxy/proxy.log for configuration errors
2025-01-20 21:20:35 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[gp2us1opsfm01-main02a.example.net]: Proxy gp2us1opsfm01-main02a.example.net has failed to load one or more features (Shellhooks), check /var/log/foreman-proxy/proxy.log for configuration errors
2025-01-20 21:20:37 [NOTICE] [configure] System configuration has finished.

Error 1: Puppet Foreman_smartproxy resource 'gp2us1opsfm01-main02a.example.net' failed. Logs:
  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[gp2us1opsfm01-main02a.example.net]
    Adding autorequire relationship with Anchor[foreman::service]
    Adding autorequire relationship with Anchor[foreman::providers::oauth]
    Starting to evaluate the resource (1483 of 1496)
    Failed to call refresh: Proxy gp2us1opsfm01-main02a.example.net has failed to load one or more features (Shellhooks), check /var/log/foreman-proxy/proxy.log for configuration errors
    Proxy gp2us1opsfm01-main02a.example.net has failed to load one or more features (Shellhooks), check /var/log/foreman-proxy/proxy.log for configuration errors
    Evaluated in 0.81 seconds
  Foreman_smartproxy[gp2us1opsfm01-main02a.example.net](provider=rest_v3)
    Making get request to https://gp2us1opsfm01-main02a.example.net/api/v2/smart_proxies?search=name%3D%22gp2us1opsfm01-main02a.example.net%22
    Received response 200 from request to https://gp2us1opsfm01-main02a.example.net/api/v2/smart_proxies?search=name%3D%22gp2us1opsfm01-main02a.example.net%22
    Making put request to https://gp2us1opsfm01-main02a.example.net/api/v2/smart_proxies/1/refresh
    Received response 200 from request to https://gp2us1opsfm01-main02a.example.net/api/v2/smart_proxies/1/refresh
    Making put request to https://gp2us1opsfm01-main02a.example.net/api/v2/smart_proxies/1/refresh
    Received response 200 from request to https://gp2us1opsfm01-main02a.example.net/api/v2/smart_proxies/1/refresh
  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[gp2us1opsfm01-main02a.example.net]/features
    change from ["Ansible", "Dynflow", "Logs", "Pulpcore", "Script"] to ["Ansible", "Dynflow", "Logs", "Pulpcore", "Script", "Shellhooks"] failed: Proxy gp2us1opsfm01-main02a.example.net has failed to load one or more features (Shellhooks), check /var/log/foreman-proxy/proxy.log for configuration errors

1 error was detected during installation.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.

The full log is at /var/log/foreman-installer/katello.log

I have looked at the katello.log and the proxy.log and there is nothing in there that gives any more information on why it failed.

Is the Webhooks plugin installed on your Foreman? Otherwise it doesn’t know about the Shellhooks feature and can’t register it for a proxy.

Ahhh. There were hints both needed to be installed but nothing clearly
said so.

I will install it and see what happens.

Thanks.

All I needed to do was install rubygem-foreman_webhooks rpm and rubygem-hammer_cli_foreman_webhooks.rpm then re-run foreman-installer --enable-foreman-proxy-plugin-shellhooks and it installed just fine.

Thank you.