prometheus-formula/prometheus/service/clean.sls

12 lines
304 B
Plaintext
Raw Normal View History

# -*- coding: utf-8 -*-
# vim: ft=sls
{#- Get the `tplroot` from `tpldir` #}
{%- set tplroot = tpldir.split('/')[0] %}
{%- from tplroot ~ "/map.jinja" import prometheus with context %}
prometheus-service-clean-service-dead:
service.dead:
- name: {{ prometheus.service.name }}
- enable: False