Puppet-foreman, listen on multiple IP addresses

Hi,

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?

Greetings
Marc

Sorry, this issue can be closed. I wrote this last night, then found https://github.com/theforeman/puppet-foreman/issues/563, decided not to send the article, found the draft this morning, said to myself, wtf why didn’t I send this and hit send.

I apologize.

Greetings
Marc