Drop passenger from puppet-foreman
Fixes #29780 - Drop Passenger support
With Foreman 2.5, support to run with Passenger (technically
mod_passenger) is dropped in favor of using Puma with a reverse proxy.
This also moves the request headers part of settings.yaml to a concat
fragment to simplify some code.
It keeps in code to remove tfm-rubygem-passenger-native on EL7 which it
previously didn't do, but is nice to do. It doesn't remove mod_passenger
itself since that's not managed in this module.
Refs #29780 - Drop FOREMAN_BIND handling
In Foreman 2.4 FOREMAN_BIND was dropped and now Puma builds bind
statements based on inherited sockets from systemd. That means it's no
longer needed to match them. This gives a lot more freedom.
This PR chooses to remove the foreman.socket override if Apache is not
enabled. This then uses the default ListenStream from the socket, which
happens to be 0.0.0.0:3000 today but we don't really care.
#4 Updated by Ewoud Kohl van Wijngaarden 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman|0dc29a379323050ce42a7035fd6dd2d1d7f23f71.