1
0
Fork 0
mirror of synced 2024-11-05 01:08:57 -05:00
formula-grafana/grafana/map.jinja

34 lines
675 B
Text
Raw Normal View History

2015-12-08 04:23:39 -05:00
{%- load_yaml as base_defaults %}
Debian:
pkgs:
- grafana
2015-12-08 04:26:39 -05:00
service: grafana-server
2015-12-08 04:23:39 -05:00
bind:
address: 0.0.0.0
port: 3000
2016-10-21 18:36:50 -04:00
session:
engine: file
auth:
engine: application
admin:
user: admin
password: admin
allow_sign_up: False
allow_org_create: False
auto_assign_role: Viewer
2015-12-08 04:23:39 -05:00
{%- endload %}
2016-10-21 18:36:50 -04:00
{%- 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
datasource: {}
dashboard: {}
{%- endload %}
{%- set client = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('grafana:client')) %}