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

grafana debian repository

This commit is contained in:
Ivan Lopez 2016-12-02 22:16:47 +01:00
parent afccd7923d
commit c12d9c6dce

View file

@ -1,9 +1,18 @@
{%- from "grafana/map.jinja" import server with context %} {%- from "grafana/map.jinja" import server with context %}
{%- if server.enabled %} {%- if server.enabled %}
grafana package repository:
pkgrepo.managed:
- name: deb https://packagecloud.io/grafana/stable/debian/ {{ grains["oscodename"] }} main
- keyid: 59097AB
- keyserver: hkp://p80.pool.sks-keyservers.net:80
- file: /etc/apt/sources.list.d/grafana.list
- refresh_db: True
grafana_packages: grafana_packages:
pkg.installed: pkg.installed:
- names: {{ server.pkgs }} - names: {{ server.pkgs }}
- pkgrepo: grafana package repository
/etc/grafana/grafana.ini: /etc/grafana/grafana.ini:
file.managed: file.managed: