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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
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
Hide 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:
...
@@ -15,6 +15,10 @@ disable_os_firewall:
{% endif %}
{% endif %}
firewall:
firewall:
service.running:
- require:
- network: vm
- pkg: firewall
pkg.installed:
pkg.installed:
- pkgs:
- pkgs:
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
...
...
salt/fwdriver/network.sls
View file @
ba8b8e5a
...
@@ -21,6 +21,9 @@ vm:
...
@@ -21,6 +21,9 @@ vm:
- require:
- require:
- cmd: ovs-if
- cmd: ovs-if
{# -- DHCP server configuration -- #}
{% if grains['os'] == 'Debian' %}
{% if grains['os'] == 'Debian' %}
symlink_dhcpd:
symlink_dhcpd:
file.symlink:
file.symlink:
...
@@ -33,13 +36,6 @@ symlink_dhcpd:
...
@@ -33,13 +36,6 @@ symlink_dhcpd:
- file: symlink_dhcpd
- file: symlink_dhcpd
{% endif %}
{% endif %}
firewall2:
service:
- name: firewall
- running
- require:
- network: vm
{% if grains['os_family'] == 'RedHat' %}
{% if grains['os_family'] == 'RedHat' %}
fix_dhcp:
fix_dhcp:
cmd.script:
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