1
0
Fork 0
mirror of synced 2024-12-22 06:31:06 -05:00

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

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 }}