1
0
Fork 0
mirror of synced 2024-11-05 01:08:57 -05:00
formula-grafana/grafana/map.jinja
Guillaume Thouvenin 70ca667e57 Add default dashboards for StackLight
This patch adds the possibility to add StackLight dashboards when
installing grafana. By default they are not installed.
2016-10-26 11:25:37 +02:00

37 lines
740 B
Django/Jinja

{%- load_yaml as base_defaults %}
Debian:
pkgs:
- grafana
service: grafana-server
bind:
address: 0.0.0.0
port: 3000
session:
engine: file
auth:
engine: application
admin:
user: admin
password: admin
allow_sign_up: False
allow_org_create: False
auto_assign_role: Viewer
dashboards:
enabled: false
{%- endload %}
{%- set server = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('grafana:server')) %}
{%- load_yaml as base_defaults %}
Debian:
server:
host: 127.0.0.1
port: 3000
remote_data:
engine: none
datasource: {}
dashboard: {}
{%- endload %}
{%- set client = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('grafana:client')) %}