mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 05:46:16 +00:00
Salt: have kube-addons service depend on init file
For symmetry with systemd
This commit is contained in:
parent
a5b3c73ac4
commit
600a0d6fe7
@ -151,5 +151,6 @@ kube-addons:
|
|||||||
- watch:
|
- watch:
|
||||||
{% if pillar.get('is_systemd') %}
|
{% if pillar.get('is_systemd') %}
|
||||||
- file: {{ pillar.get('systemd_system_path') }}/kube-addons.service
|
- file: {{ pillar.get('systemd_system_path') }}/kube-addons.service
|
||||||
|
{% else %}
|
||||||
|
- file: /etc/init.d/kube-addons
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user