49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
|
# -*- coding: utf-8 -*-
|
||
|
# vim: ft=yaml
|
||
|
---
|
||
|
grafana:
|
||
|
dir: /opt/grafana
|
||
|
version: '6.2.2'
|
||
|
grafana_url: 'https://grafana.exemple.com'
|
||
|
grafana_user: grafana
|
||
|
grafana_password: grafana
|
||
|
grafana_timeout: 3
|
||
|
|
||
|
pkg:
|
||
|
name: grafana
|
||
|
binary: grafana
|
||
|
use_upstream_archive: False
|
||
|
use_upstream_repo: False
|
||
|
repo:
|
||
|
humanname: grafana
|
||
|
name: grafana
|
||
|
comments:
|
||
|
- installed by salt
|
||
|
enabled: 1
|
||
|
gpgcheck: 1
|
||
|
archive:
|
||
|
name: /opt
|
||
|
uri: https://dl.grafana.com/oss/release
|
||
|
source: None
|
||
|
source_hash: None
|
||
|
trim_output: True {# works in 2018.3.2. onwards #}
|
||
|
archive_suffix: tar.gz
|
||
|
archive_format: tar
|
||
|
enforce_toplevel: False # needed for grafana
|
||
|
options: '--strip-components=1' # needed for grafana
|
||
|
|
||
|
kernel: {{grains.kernel|lower}}
|
||
|
rootgroup: root
|
||
|
group: grafana
|
||
|
config_file: /etc/grafana/grafana.ini
|
||
|
config: {}
|
||
|
environ_file: /etc/default/grafana.sh
|
||
|
environ: []
|
||
|
service:
|
||
|
name: grafana-server
|
||
|
user: grafana
|
||
|
group: grafana
|
||
|
|
||
|
linux:
|
||
|
altpriority: 0 {# 'Alternatives system' priority: zero disables (default) #}
|