When using elasticsearch::non_util it doesn't allow app master to receive external connection since it binds the service to localhost only.
Scenario
Create an environment with two app instances (one app_master and one app)
To reproduce
- Enable the elasticsearch::non_util recipe
- Check the config generated on the non-app_master instance
- Try to open a connection from the non-app_master
- Issue the command
sudo ss -lt | grep 9200 on the app_master, the bind will be to 127.0.0.1 instead of 0.0.0.0 or ::
When using elasticsearch::non_util it doesn't allow app master to receive external connection since it binds the service to localhost only.
Scenario
Create an environment with two app instances (one app_master and one app)
To reproduce
sudo ss -lt | grep 9200on the app_master, the bind will be to 127.0.0.1 instead of 0.0.0.0 or ::