1
0
Fork 0
mirror of synced 2024-11-05 01:08:57 -05:00
formula-grafana/grafana/map.jinja
2016-10-22 12:30:30 +02:00

35 lines
707 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
{%- 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')) %}