prometheus-formula/prometheus/service/clean.sls
2019-04-30 21:59:28 +02:00

12 lines
304 B
Plaintext

# -*- 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