-
Notifications
You must be signed in to change notification settings - Fork 20
/
pillar.example
54 lines (50 loc) · 1.52 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
grafana:
pkg:
name: grafana
use_upstream_archive: false
archive:
uri: https://dl.grafana.com/oss/release
repo:
humanname: grafana_official
name: deb https://apt.grafana.com/ stable main
file: /etc/apt/sources.list.d/grafana.list
key_url: https://apt.grafana.com/gpg.key
config_file: /etc/grafana/grafana.ini
service:
name: grafana-server
# Pillar-based config
# See also https://grafana.com/docs/installation/configuration/
config:
default:
instance_name: ${HOSTNAME}
security:
admin_user: admin
auth.google:
client_secret: 0ldS3cretKey
tofs:
# The files_switch key serves as a selector for alternative
# directories under the formula files directory. See TOFS pattern
# doc for more info.
# Note: Any value not evaluated by `config.get` will be used literally.
# This can be used to set custom paths, as many levels deep as required.
files_switch:
- any/path/can/be/used/here
- id
- osfinger
- os
- os_family
# All aspects of path/file resolution are customisable using the options below.
# This is unnecessary in most cases; there are sensible defaults.
# path_prefix: grafana_alt
# dirs:
# files: files_alt
# default: default_alt
source_files:
grafana-config-file-file-managed-config_file:
- 'alt_grafana.ini.jinja'
linux:
# 'Alternatives system' priority: zero disables (default)
altpriority: 1000