Added templating to systemd service unit
This commit is contained in:
parent
a2911af5f3
commit
848c2e3db4
1 changed files with 1 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue