Added template filter for node and haproxy

master
Eric Renfro 4 years ago
parent b12819a5ae
commit c6739a0a54
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 3
      prometheus/exporter/haproxy.sls
  2. 3
      prometheus/exporter/node.sls

@ -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 }}

@ -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 }}

Loading…
Cancel
Save