mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Fix TOP File Logic and syntac error in logstash state
This commit is contained in:
5
pillar/nodes/schedule.sls
Normal file
5
pillar/nodes/schedule.sls
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
schedule:
|
||||||
|
highstate:
|
||||||
|
funtion: state.highstate
|
||||||
|
minutes: 15
|
||||||
|
maxrunning: 1
|
||||||
@@ -9,3 +9,8 @@ base:
|
|||||||
- masters.{{ grains.host }}
|
- masters.{{ grains.host }}
|
||||||
- static
|
- static
|
||||||
- firewall.*
|
- firewall.*
|
||||||
|
|
||||||
|
'G@role:so-node':
|
||||||
|
- nodes.schedule
|
||||||
|
- nodes.{{ grains.host }}
|
||||||
|
- static
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{% set nodetype = salt['pillar_get']('node:node_type', 'storage') %}
|
{% set nodetype = salt['pillar.get']('node:node_type', 'storage') %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -136,4 +136,3 @@ so-logstash:
|
|||||||
- /etc/pki/filebeat.crt:/usr/share/logstash/filebeat.crt:ro
|
- /etc/pki/filebeat.crt:/usr/share/logstash/filebeat.crt:ro
|
||||||
- /etc/pki/filebeat.key:/usr/share/logstash/filebeat.key:ro
|
- /etc/pki/filebeat.key:/usr/share/logstash/filebeat.key:ro
|
||||||
- /etc/pki/ca.crt:/usr/share/filebeat/ca.crt:ro
|
- /etc/pki/ca.crt:/usr/share/filebeat/ca.crt:ro
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user