Merge "Fix collectd meta when the service is disabled" into stacklight

This commit is contained in:
Jenkins 2016-11-08 15:00:50 +00:00 committed by Gerrit Code Review
commit 52775c0a3a
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{%- from "keystone/map.jinja" import server with context %}
{%- if server.get('enabled', False) %}
local_plugin:
collectd_check_local_endpoint:
endpoint:
@ -24,3 +25,4 @@ remote_plugin:
username: {{ server.admin_name }}
password: {{ server.admin_password }}
tenant: {{ server.admin_tenant }}
{%- endif %}