mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Salt: have kube-addons service depend on init file
For symmetry with systemd
This commit is contained in:
committed by
Tim Hockin
parent
191528b782
commit
cee489d499
@@ -158,5 +158,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 %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user