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

missing default value for manage_repo

This commit is contained in:
Benjamin DUPUIS 2019-06-20 15:18:08 +02:00
parent 40f33c777a
commit ef6b9e5d42
2 changed files with 5 additions and 3 deletions

View file

@ -1,10 +1,10 @@
{%- if pillar.grafana is defined %}
include:
{%- if grafana.manage_repo and grains['os_family'] == 'RedHat' %}
{%- if pillar.grafana.server is defined %}
{%- if pillar.grafana.server.manage_repo and grains['os_family'] == 'RedHat' %}
- grafana.repo.redhat
{%- endif %}
{%- if pillar.grafana.server is defined %}
- grafana.server
{%- endif %}
{%- if pillar.grafana.client is defined %}

View file

@ -1,6 +1,7 @@
{%- load_yaml as server_defaults %}
Debian:
manage_repo: false
pkgs:
- grafana
service: grafana-server
@ -51,6 +52,7 @@ Debian:
dashboards:
enabled: false
RedHat:
manage_repo: true
pkgs:
- grafana
service: grafana-server