diff --git a/templates/410_process-ngcp.yaml.tt2 b/templates/410_process-ngcp.yaml.tt2 index 3eab867..fe29483 100644 --- a/templates/410_process-ngcp.yaml.tt2 +++ b/templates/410_process-ngcp.yaml.tt2 @@ -79,7 +79,7 @@ process: # We have to use a truncated process name because that's the COMM limit # on Linux (15 characters). Real name: prometheus-redis-exporter. prometheus-redi: - running: [% monitoring.backend == 'prometheus' && (is_mgmt || is_lb || is_proxy || is_db || is_rtp) && redis.enable ? 'true' : 'false' %] + running: [% monitoring.backend == 'prometheus' && (is_mgmt || is_lb || is_proxy || is_db || is_rtp) && redis.pair.enable ? 'true' : 'false' %] kamailio: running: {{if and [% is_lb || is_proxy ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} diff --git a/templates/500_init-daemons-dabian.yaml.tt2 b/templates/500_init-daemons-dabian.yaml.tt2 index 436749b..593b632 100644 --- a/templates/500_init-daemons-dabian.yaml.tt2 +++ b/templates/500_init-daemons-dabian.yaml.tt2 @@ -80,8 +80,8 @@ service: running: [% monitoring.backend == 'prometheus' ? 'true' : 'false' %] prometheus-redis-exporter.service: - enabled: [% monitoring.backend == 'prometheus' && (is_mgmt || is_lb || is_proxy || is_db || is_rtp) && redis.enable ? 'true' : 'false' %] - running: [% monitoring.backend == 'prometheus' && (is_mgmt || is_lb || is_proxy || is_db || is_rtp) && redis.enable ? 'true' : 'false' %] + enabled: [% monitoring.backend == 'prometheus' && (is_mgmt || is_lb || is_proxy || is_db || is_rtp) && redis.pair.enable ? 'true' : 'false' %] + running: [% monitoring.backend == 'prometheus' && (is_mgmt || is_lb || is_proxy || is_db || is_rtp) && redis.pair.enable ? 'true' : 'false' %] ssh.service: enabled: true diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index cc8078b..f773f09 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -93,8 +93,8 @@ service: running: [% is_lb && pushd.enable == "yes" ? 'true' : 'false' %] [% database.key_value.flavor %]-server.service: - enabled: [% redis.enable == "yes" ? 'true' : 'false' %] - running: [% redis.enable == "yes" ? 'true' : 'false' %] + enabled: [% redis.pair.enable == "yes" ? 'true' : 'false' %] + running: [% redis.pair.enable == "yes" ? 'true' : 'false' %] redis-server.service: enabled: false