Commit 191528b7 authored by Justin Santa Barbara's avatar Justin Santa Barbara Committed by Tim Hockin

Salt: Add service block for kube-proxy for systemd

We have the workaround for Salt's problems here, but we should still express our intent.
parent efce770f
......@@ -53,16 +53,20 @@ kube-proxy:
- group: root
- mode: 755
{% endif %}
kube-proxy-service:
service.running:
- name: kube-proxy
- enable: True
- watch:
- file: {{ environment_file }}
{% if pillar.get('is_systemd') %}
- file: {{ pillar.get('systemd_system_path') }}/kube-proxy.service
{% else %}
- file: /etc/init.d/kube-proxy
- file: /var/lib/kube-proxy/kubeconfig
{% endif %}
- file: /var/lib/kube-proxy/kubeconfig
/var/lib/kube-proxy/kubeconfig:
file.managed:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment