Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ba8b8e5a
authored
Jul 06, 2016
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fwdriver: move service state to init.sls from network.sls
parent
ef992520
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
salt/fwdriver/init.sls
+4
-0
salt/fwdriver/network.sls
+3
-7
No files found.
salt/fwdriver/init.sls
View file @
ba8b8e5a
...
...
@@ -15,6 +15,10 @@ disable_os_firewall:
{% endif %}
firewall:
service.running:
- require:
- network: vm
- pkg: firewall
pkg.installed:
- pkgs:
{% if grains['os_family'] == 'RedHat' %}
...
...
salt/fwdriver/network.sls
View file @
ba8b8e5a
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment