Added template filter for node and haproxy

This commit is contained in:
Eric Renfro 2019-05-08 18:35:52 -04:00
parent b12819a5ae
commit c6739a0a54
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,8 @@ haproxy_exporter_service_unit:
- name: /etc/init/haproxy_exporter.conf
- source: salt://prometheus/files/exporter.upstart.jinja
{%- endif %}
- context:
- template: jinja
- defaults:
svc: node_exporter
user: {{ prometheus.user }}
group: {{ prometheus.group }}

View File

@ -37,7 +37,8 @@ node_exporter_service_unit:
- name: /etc/init/node_exporter.conf
- source: salt://prometheus/files/exporter.upstart.jinja
{%- endif %}
- context:
- template: jinja
- defaults:
svc: node_exporter
user: {{ prometheus.user }}
group: {{ prometheus.group }}