I have foreman 1.16.0 and an ancient version of the puppet-foreman module. Judging from the comments on https://github.com/theforeman/puppet-foreman/, the issue still applies to the current version.
I need the /etc/httpd/conf/ports.conf file to not contain a “Listen 443”, but two lines saying “Listen 127.0.0.1:443” and “Listen 192.168.0.20:443”. From my understanding of the puppet-apache module, this is done by giving the apache::vhost defined type a the appropriate list of IP addresses.
Unfortunately, from my understanding, the foreman/manifests/config/passenger.pp file insists on getting an interface or a list of interfaces, and then itself proceeds to pull the according IP addresses from the system, which is not what I want. I explicitly want Foreman to not listen on a single IP address that is on the same Interface then one that Foreman should listen on.
Is this possible with the current version of puppet-foreman?