66
77 {%- if ' service' in d.pkg.docker and d.pkg.docker.service and grains.os != ' Windows' % }
88 {%- set sls_config_daemon = tplroot ~ ' .software.config.daemon' % }
9- {%- set sls_config_file = tplroot ~ ' .software.config.file ' % }
9+ {%- set sls_environ = tplroot ~ ' .software.config.environ ' % }
1010 {%- set sls_archive = tplroot ~ ' .software.archive.install' % }
1111 {%- set sls_desktop = tplroot ~ ' .software.desktop.install' % }
1212 {%- set sls_package = tplroot ~ ' .software.package.install' % }
1313
1414include:
1515 - {{ sls_archive if d.pkg.docker.use_upstream == ' archive' else sls_desktop if d.pkg.docker.use_upstream == ' desktop' else sls_package }}
16- - {{ sls_config_file }}
16+ - {{ sls_environ }}
1717 - {{ sls_config_daemon }}
1818
1919 {%- if grains.kernel| lower == ' linux' % }
@@ -26,8 +26,8 @@ docker-software-service-running-unmasked:
2626 - service: docker- software- service- running- docker
2727 - require:
2828 - sls: {{ sls_config_daemon }}
29- {%- if ' config ' in d.pkg.docker and d.pkg.docker.config % }
30- - sls: {{ sls_config_file }}
29+ {%- if ' environ ' in d.pkg.docker and d.pkg.docker.environ % }
30+ - sls: {{ sls_environ }}
3131 {%- endif % }
3232 {%- if d.misc.firewall % }
3333 pkg.installed:
@@ -42,8 +42,8 @@ docker-software-service-running-docker:
4242 - name: {{ d.pkg.docker.service.name }}
4343 - require:
4444 - sls: {{ sls_config_daemon }}
45- {%- if ' config ' in d.pkg.docker and d.pkg.docker.config % }
46- - sls: {{ sls_config_file }}
45+ {%- if ' environ ' in d.pkg.docker and d.pkg.docker.environ % }
46+ - sls: {{ sls_environ }}
4747 {%- endif % }
4848 - enable: True
4949 - watch:
0 commit comments