ce5b7712c9
BREAKING CHANGE: The data dictionary is simplified and expanded. Retest your states and update pillar data accordingly. For developer convenience, clientlibs states were introduced. See pillar.example, defaults.yaml, and docs/README.
14 lines
320 B
Plaintext
14 lines
320 B
Plaintext
# -*- coding: utf-8 -*-
|
|
# vim: ft=sls
|
|
|
|
{%- set tplroot = tpldir.split('/')[0] %}
|
|
{%- from tplroot ~ "/map.jinja" import prometheus as p with context %}
|
|
|
|
{%- for name in p.wanted.clientlibs %}
|
|
|
|
prometheus-clientlibs-clean-{{ name }}:
|
|
file.absent:
|
|
- name: {{ p.pkg.clientlibs[name]['path'] }}
|
|
|
|
{%- endfor %}
|