fix(service): pick up the right service name in pillars
This commit is contained in:
parent
41da7cc697
commit
0169c89ca4
@ -12,7 +12,7 @@ include:
|
|||||||
|
|
||||||
{%- for name in p.wanted.component %}
|
{%- for name in p.wanted.component %}
|
||||||
{%- if 'service' in p.pkg.component[name] and p.pkg.component[name]['service'] %}
|
{%- if 'service' in p.pkg.component[name] and p.pkg.component[name]['service'] %}
|
||||||
{%- set service_name = p.pkg.component[name]['service']['get'](name, {}).get('name', name) %}
|
{%- set service_name = p.pkg.component[name]['service'].get('name', name) %}
|
||||||
|
|
||||||
prometheus-service-running-{{ name }}-unmasked:
|
prometheus-service-running-{{ name }}-unmasked:
|
||||||
service.unmasked:
|
service.unmasked:
|
||||||
|
Loading…
Reference in New Issue
Block a user