Browse Source

Merge "Allow to override the datasource name"

pull/27/head
Ales Komarek 5 years ago committed by Gerrit Code Review
parent
commit
a89a9c1065
  1. 2
      grafana/client/init.sls

2
grafana/client/init.sls

@ -8,7 +8,7 @@ include: @@ -8,7 +8,7 @@ include:
grafana_client_datasource_{{ datasource_name }}:
grafana3_datasource.present:
- name: {{ datasource_name }}
- name: {{ datasource.name|default(datasource_name) }}
- type: {{ datasource.type }}
- url: http://{{ datasource.host }}:{{ datasource.get('port', 80) }}
{%- if datasource.access is defined %}

Loading…
Cancel
Save