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 %}
|
{%- if pillar.grafana is defined %}
|
||||||
include:
|
include:
|
||||||
{%- if grafana.manage_repo and grains['os_family'] == 'RedHat' %}
|
|
||||||
- grafana.repo.redhat
|
|
||||||
{%- endif %}
|
|
||||||
{%- if pillar.grafana.server is defined %}
|
{%- if pillar.grafana.server is defined %}
|
||||||
|
{%- if pillar.grafana.server.manage_repo and grains['os_family'] == 'RedHat' %}
|
||||||
|
- grafana.repo.redhat
|
||||||
|
{%- endif %}
|
||||||
- grafana.server
|
- grafana.server
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if pillar.grafana.client is defined %}
|
{%- if pillar.grafana.client is defined %}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
{%- load_yaml as server_defaults %}
|
{%- load_yaml as server_defaults %}
|
||||||
Debian:
|
Debian:
|
||||||
|
manage_repo: false
|
||||||
pkgs:
|
pkgs:
|
||||||
- grafana
|
- grafana
|
||||||
service: grafana-server
|
service: grafana-server
|
||||||
|
@ -51,6 +52,7 @@ Debian:
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: false
|
enabled: false
|
||||||
RedHat:
|
RedHat:
|
||||||
|
manage_repo: true
|
||||||
pkgs:
|
pkgs:
|
||||||
- grafana
|
- grafana
|
||||||
service: grafana-server
|
service: grafana-server
|
||||||
|
|
Loading…
Reference in a new issue