redhat
This commit is contained in:
parent
4c811e1c02
commit
a890d1f924
2 changed files with 13 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
||||||
|
|
||||||
{%- if pillar.grafana is defined %}
|
{%- if pillar.grafana is defined %}
|
||||||
include:
|
include:
|
||||||
|
{%- if grains['os_family'] == 'RedHat' %}
|
||||||
|
- grafana.repo.redhat
|
||||||
|
{%- endif %}
|
||||||
{%- if pillar.grafana.server is defined %}
|
{%- if pillar.grafana.server is defined %}
|
||||||
- grafana.server
|
- grafana.server
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
10
grafana/repo/redhat.sls
Normal file
10
grafana/repo/redhat.sls
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
grafana:
|
||||||
|
pkgrepo.managed:
|
||||||
|
- humanname: 'grafana'
|
||||||
|
- name: 'grafana'
|
||||||
|
- baseurl: 'https://packagecloud.io/grafana/stable/el/7/$basearch'
|
||||||
|
- enabled: 1
|
||||||
|
- gpgcheck: 1
|
||||||
|
- gpgkey: https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
|
||||||
|
- sslverify: 1
|
||||||
|
- sslcacert: /etc/pki/tls/certs/ca-bundle.crt
|
Loading…
Reference in a new issue