mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
Merge pull request #1154 from jbeda/salt-reactor
Fix docker start after minion reboot on GCE/debian
This commit is contained in:
commit
2df3ff51f4
@ -44,7 +44,7 @@ docker-io:
|
|||||||
docker:
|
docker:
|
||||||
service.running:
|
service.running:
|
||||||
- enable: True
|
- enable: True
|
||||||
- require:
|
- require:
|
||||||
- pkg: docker-io
|
- pkg: docker-io
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -61,19 +61,13 @@ docker:
|
|||||||
lxc-docker:
|
lxc-docker:
|
||||||
pkg.installed
|
pkg.installed
|
||||||
|
|
||||||
# There is a race here, I think. As the package is installed, it will start
|
docker:
|
||||||
# docker. If it doesn't write its pid file fast enough then this next stanza
|
service.running:
|
||||||
# will try to ensure that docker is running. That might start another copy of
|
- enable: True
|
||||||
# docker causing the thing to get wedged.
|
- require:
|
||||||
#
|
- pkg: lxc-docker
|
||||||
# See docker issue https://github.com/dotcloud/docker/issues/6184
|
- watch:
|
||||||
|
- file: {{ environment_file }}
|
||||||
# docker:
|
- container_bridge: cbr0
|
||||||
# service.running:
|
|
||||||
# - enable: True
|
|
||||||
# - require:
|
|
||||||
# - pkg: lxc-docker
|
|
||||||
# - watch:
|
|
||||||
# - file: /etc/default/docker
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user