blob: fd8f020b395806ceae4c35f8875bf79eecc36c7d [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.grafana.server.single
3parameters:
4 _param:
5 grafana_port: 3000
6 grafana_user: admin
7 grafana_password: admin
8 linux:
9 system:
10 repo:
11 grafana:
12 enabled: true
13 source: 'deb https://packagecloud.io/grafana/stable/debian/ jessie main'
14 key_url: 'https://packagecloud.io/gpg.key'
15 grafana:
16 server:
17 enabled: true
18 bind:
19 address: ${_param:single_address}
20 port: ${_param:grafana_port}
21 database:
22 engine: mysql
23 host: ${_param:openstack_database_address}
24 port: 3306
25 name: grafana
26 user: grafana
27 password: ${_param:mysql_grafana_password}
28 auth:
Éric Lemoine10350902016-12-14 15:16:42 +000029 basic:
30 enabled: true
Ondrej Smola03ff34e2016-12-01 01:30:33 +010031 admin:
32 user: ${_param:grafana_user}
33 password: ${_param:grafana_password}
34 dashboards:
35 enabled: false
36 path: /var/lib/grafana/dashboards