Commit 32bc05f9 by Czémán Arnold

network: add daemon-reload for debian

parent 661836a4
...@@ -51,11 +51,18 @@ isc-dhcp-server: ...@@ -51,11 +51,18 @@ isc-dhcp-server:
{% if grains['os'] == 'Debian' %} {% if grains['os'] == 'Debian' %}
{# For next reboot #} {# For next reboot #}
/etc/systemd/system/isc-dhcp-server.service.d/after_openvswitch.conf: after_openvswitch_conf:
file.managed: file.managed:
- name: /etc/systemd/system/isc-dhcp-server.service.d/after_openvswitch.conf
- source: salt://network/files/fix_dhcp_Debian.conf - source: salt://network/files/fix_dhcp_Debian.conf
- user: root - user: root
- group: root - group: root
- template: jinja - template: jinja
- makedirs: True - makedirs: True
fix_dhcp_daemon_reload:
cmd.run:
- name: /bin/systemctl daemon-reload
- require:
- file: after_openvswitch_conf
{% endif %} {% endif %}
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 sign in to comment