Problem:
Notification mails are sent only to host owner.
Expected outcome:
I’d like to have a fictious user receiving notification mail for any host built.
Foreman and Proxy versions:
Satellite 6.6
Foreman and Proxy plugin versions:
Distribution and version:
Red Hat
Other relevant data:
It’s also difficult to add a custom sendmail command at the end of Provisioning Template, because there is no tool available and local mail subsystem (Postfix) is still not configured (it will be configured later by Puppet/Ansible).
There is a WIP plugin that allows you to hook various events, including this one, and make a call to a remote webservice:
If you don’t want to write your own webservice, you can use another WIP plugin for smart proxy which allows you to run a shell script when that happens:
Alternatively, you can write your own Foreman plugin, subscribe to those two events and do anything with it. See our docs: