1
0
Fork 0
This commit is contained in:
Alejandro Bednarik 2017-07-19 20:36:59 +00:00 committed by GitHub
commit 332d46acbd
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 }}