mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 07:23:06 +01:00
add sensor to node_containers
This commit is contained in:
@@ -5,6 +5,8 @@ disable_firewalld:
|
||||
service.dead:
|
||||
- name: firewalld
|
||||
- enable: False
|
||||
- prereq:
|
||||
- file: iptables_config
|
||||
|
||||
create_sysconfig_iptables:
|
||||
file.touch:
|
||||
@@ -22,6 +24,14 @@ iptables_restore:
|
||||
cmd.run:
|
||||
- name: iptables-restore < /etc/sysconfig/iptables
|
||||
|
||||
enable_firewalld:
|
||||
service.enabled:
|
||||
- name: firewalld
|
||||
- enable: True
|
||||
- onfail:
|
||||
- file: iptables_config
|
||||
- cmd: iptables_restore
|
||||
|
||||
{% else %}
|
||||
|
||||
{{sls}}_state_not_allowed:
|
||||
|
||||
Reference in New Issue
Block a user