31bfa9d94c
Change-Id: If5cf3662f96311a5f37055c0f62934ba5407a978
10 lines
350 B
Text
10 lines
350 B
Text
{% from "prometheus/map.jinja" import exporters with context %}
|
|
{%- for exporter, parameters in exporters.iteritems() %}
|
|
{%- if parameters.get('enabled', False) %}
|
|
{%- if parameters.get('packages', False) %}
|
|
{{ exporter }}_exporter_packages:
|
|
pkg.installed:
|
|
- names: {{ parameters.packages }}
|
|
{%- endif %}
|
|
{%- endif %}
|
|
{%- endfor %}
|