Added templating to systemd service unit

This commit is contained in:
Eric Renfro 2019-05-10 03:00:52 -04:00
parent a2911af5f3
commit 848c2e3db4
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -56,6 +56,7 @@ prometheus_service_unit:
- name: /etc/init/prometheus.conf - name: /etc/init/prometheus.conf
- source: salt://prometheus/files/prometheus.upstart.jinja - source: salt://prometheus/files/prometheus.upstart.jinja
{%- endif %} {%- endif %}
- template: jinja
- context: - context:
user: {{ prometheus.user }} user: {{ prometheus.user }}
group: {{ prometheus.group }} group: {{ prometheus.group }}