Skip to content

Commit

Permalink
Fix systemd warning on unit files (saltstack-formulas#207)
Browse files Browse the repository at this point in the history
* try to made docker.pull stateful

* remove warning w systemd unit
  • Loading branch information
Poil authored and aboe76 committed Mar 27, 2019
1 parent 3fce8f0 commit 304d798
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/containers.sls
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ docker-container-startup-config-{{ name }}:
file.managed:
{%- if init_system == "systemd" %}
- name: /etc/systemd/system/docker-{{ name }}.service
- mode: 644
{%- elif init_system == "upstart" %}
- name: /etc/init/docker-{{ name }}.conf
- mode: 700
{%- endif %}
- source: salt://docker/files/service_file.jinja
- mode: 700
- user: root
- template: jinja
- defaults:
Expand Down

0 comments on commit 304d798

Please sign in to comment.