Commit 177ce851 by Czémán Arnold

fwdriver, network: add selinux security module, add dhcp server service for network/init.sls

parent 7458e028
...@@ -88,5 +88,8 @@ openvswitch2: ...@@ -88,5 +88,8 @@ openvswitch2:
- cmd: openvswitch - cmd: openvswitch
- required_in: - required_in:
- cmd: ovs-bridge - cmd: ovs-bridge
salt://fwdriver/files/install_selinux_module.sh:
cmd.script
{% endif %} {% endif %}
#!/bin/bash
semodule -i firewall-init.pp
exit 0
...@@ -35,3 +35,11 @@ salt://network/files/reload_firewall.sh: ...@@ -35,3 +35,11 @@ salt://network/files/reload_firewall.sh:
salt://network/files/fix_dhcp.sh: salt://network/files/fix_dhcp.sh:
cmd.script cmd.script
isc-dhcp-server:
service:
- running
- enabled
{% if grains['os_family'] == 'RedHat' %}
- name: dhcpd
{% 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