Added template filter for node and haproxy
This commit is contained in:
parent
b12819a5ae
commit
c6739a0a54
2 changed files with 4 additions and 2 deletions
|
@ -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…
Reference in a new issue