1
0
Fork 0

Update server.sls

Add grafana repository when including server.sls to install a recent version.
This commit is contained in:
Alejandro Bednarik 2017-07-19 17:36:42 -03:00 committed by GitHub
parent ab3d122fd0
commit 1a5623abc2
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,13 @@
{%- from "grafana/map.jinja" import server with context %}
{%- 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:
pkg.installed:
- names: {{ server.pkgs }}