Commit 704489ee by Czémán Arnold Committed by cloud

fwdriver: move service state to init.sls from network.sls

parent 22c19cb9
......@@ -15,6 +15,10 @@ disable_os_firewall:
{% endif %}
firewall:
service.running:
- require:
- network: vm
- pkg: firewall
pkg.installed:
- pkgs:
{% if grains['os_family'] == 'RedHat' %}
......
......@@ -21,6 +21,9 @@ vm:
- require:
- cmd: ovs-if
{# -- DHCP server configuration -- #}
{% if grains['os'] == 'Debian' %}
symlink_dhcpd:
file.symlink:
......@@ -33,13 +36,6 @@ symlink_dhcpd:
- file: symlink_dhcpd
{% endif %}
firewall2:
service:
- name: firewall
- running
- require:
- network: vm
{% if grains['os_family'] == 'RedHat' %}
fix_dhcp:
cmd.script:
......
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