add reload for systemd
Related: PROD-26626(PROD:26626)
Change-Id: I5a8c02204d155db3bb2fbecadae7a6a15f2a5c0b
diff --git a/docker/host.sls b/docker/host.sls
index f436349..26b11d3 100644
--- a/docker/host.sls
+++ b/docker/host.sls
@@ -28,8 +28,9 @@
{%- endif %}
-/etc/docker/daemon.json:
+docker_daemon_config:
file.managed:
+ - name: /etc/docker/daemon.json
- source: salt://docker/files/daemon.json
- template: jinja
- makedirs: True
@@ -71,6 +72,7 @@
service.running:
- name: {{ host.service }}
- enable: true
+ - reload: true
{%- if grains.get('noservices') %}
- onlyif: /bin/false
{%- endif %}