Fix collectd meta when the service is disabled
Change-Id: I78e411200101bc386dbf1a28936745a144649496
This commit is contained in:
parent
d8525ffd80
commit
007973a9d1
|
@ -1,5 +1,6 @@
|
|||
{%- if pillar.neutron.server %}
|
||||
{%- from "neutron/map.jinja" import server with context %}
|
||||
{%- if server.get('enabled', False) %}
|
||||
local_plugin:
|
||||
collectd_check_local_endpoint:
|
||||
endpoint:
|
||||
|
@ -15,3 +16,4 @@ remote_plugin:
|
|||
password: {{ server.identity.password }}
|
||||
tenant: {{ server.identity.tenant }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue