missing default value for manage_repo
This commit is contained in:
parent
40f33c777a
commit
ef6b9e5d42
2 changed files with 5 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue