2019-04-24 18:18:44 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=sls
|
|
|
|
|
|
|
|
{#- Get the `tplroot` from `tpldir` #}
|
|
|
|
{%- set tplroot = tpldir.split('/')[0] %}
|
|
|
|
{%- set sls_config_clean = tplroot ~ '.config.clean' %}
|
|
|
|
{%- from tplroot ~ "/map.jinja" import prometheus with context %}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- {{ sls_config_clean }}
|
|
|
|
|
|
|
|
prometheus-package-clean-pkg-removed:
|
|
|
|
pkg.removed:
|
2019-06-08 19:39:21 +02:00
|
|
|
- name: {{ prometheus.pkg.name }}
|
2019-04-24 18:18:44 +02:00
|
|
|
- require:
|
|
|
|
- sls: {{ sls_config_clean }}
|