Trying defaults vs context

This commit is contained in:
Eric Renfro 2019-05-08 18:41:47 -04:00
parent f2622cd2b9
commit 906b42fe8e
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -38,7 +38,7 @@ node_exporter_service_unit:
- source: salt://prometheus/files/exporter.upstart.jinja
{%- endif %}
- template: jinja
- context:
- defaults:
svc: node_exporter
user: {{ prometheus.user }}
group: {{ prometheus.group }}