uninstall prometheus doesn't work
This commit is contained in:
@@ -8,13 +8,11 @@ set has_promexporter = salt['pillar.get'](
|
|||||||
# This has to be here, otherwise:
|
# This has to be here, otherwise:
|
||||||
# https://stackoverflow.com/questions/59268721/saltstack-use-include-twice-in-one-sls-file
|
# https://stackoverflow.com/questions/59268721/saltstack-use-include-twice-in-one-sls-file
|
||||||
#
|
#
|
||||||
|
{%- if 'prometheus-node_exporter' in has_promexporter %}
|
||||||
include:
|
include:
|
||||||
{%- if 'prometheus-node_exporter' in has_promexporter %}
|
|
||||||
- prometheus
|
- prometheus
|
||||||
- systemd.reload
|
- systemd.reload
|
||||||
{%- else %}
|
{%- endif %}
|
||||||
#- prometheus.clean #Dat klappt nuesch!
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
{%- if 'prometheus-node_exporter' in has_promexporter %}
|
{%- if 'prometheus-node_exporter' in has_promexporter %}
|
||||||
systemd-prometheus-node-exporter-service-override:
|
systemd-prometheus-node-exporter-service-override:
|
||||||
|
|||||||
Reference in New Issue
Block a user