Update server.sls
Add grafana repository when including server.sls to install a recent version.
This commit is contained in:
parent
ab3d122fd0
commit
1a5623abc2
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
||||||
{%- from "grafana/map.jinja" import server with context %}
|
{%- from "grafana/map.jinja" import server with context %}
|
||||||
{%- if server.get('enabled', False) %}
|
{%- if server.get('enabled', False) %}
|
||||||
|
|
||||||
|
grafana_repo:
|
||||||
|
pkgrepo.managed:
|
||||||
|
- human_name: Grafana
|
||||||
|
- name: deb https://packagecloud.io/grafana/stable/debian/ jessie main
|
||||||
|
- file: /etc/apt/sources.list.d/grafana.list
|
||||||
|
- key_url: https://packagecloud.io/gpg.key
|
||||||
|
|
||||||
grafana_packages:
|
grafana_packages:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- names: {{ server.pkgs }}
|
- names: {{ server.pkgs }}
|
||||||
|
|
Loading…
Reference in a new issue