When grafana management is enabled and the port is not using the default value, the service gets stuck in a restart loop.
Expected Behavior
The grafana service should run normally and stay up with a custom port.
Steps to Reproduce
Configure the grafana server to use a different http port and set the value in the dashboards profile class. E.g., include the main puppet_operational_dashboards class and add to hiera:
The problem is the default port is hard-coded in templates/grafana_wait.epp. So it isn't seen as listening and systemd just keeps restarting the service.
Describe the Bug
When grafana management is enabled and the port is not using the default value, the service gets stuck in a restart loop.
Expected Behavior
The grafana service should run normally and stay up with a custom port.
Steps to Reproduce
Configure the grafana server to use a different http port and set the value in the dashboards profile class. E.g., include the main puppet_operational_dashboards class and add to hiera:
Environment
Additional Context
The problem is the default port is hard-coded in templates/grafana_wait.epp. So it isn't seen as listening and systemd just keeps restarting the service.