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:
|
||||
# https://stackoverflow.com/questions/59268721/saltstack-use-include-twice-in-one-sls-file
|
||||
#
|
||||
{%- if 'prometheus-node_exporter' in has_promexporter %}
|
||||
include:
|
||||
{%- if 'prometheus-node_exporter' in has_promexporter %}
|
||||
- prometheus
|
||||
- systemd.reload
|
||||
{%- else %}
|
||||
#- prometheus.clean #Dat klappt nuesch!
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
||||
{%- if 'prometheus-node_exporter' in has_promexporter %}
|
||||
systemd-prometheus-node-exporter-service-override:
|
||||
|
||||
Reference in New Issue
Block a user