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
1 changed files with 1 additions and 0 deletions

View File

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