mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +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 }}
|
||||
- static
|
||||
- firewall.*
|
||||
|
||||
'G@role:so-node':
|
||||
- nodes.schedule
|
||||
- nodes.{{ grains.host }}
|
||||
- static
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
{% else %}
|
||||
|
||||
{% set nodetype = salt['pillar_get']('node:node_type', 'storage') %}
|
||||
{% set nodetype = salt['pillar.get']('node:node_type', 'storage') %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -136,4 +136,3 @@ so-logstash:
|
||||
- /etc/pki/filebeat.crt:/usr/share/logstash/filebeat.crt:ro
|
||||
- /etc/pki/filebeat.key:/usr/share/logstash/filebeat.key:ro
|
||||
- /etc/pki/ca.crt:/usr/share/filebeat/ca.crt:ro
|
||||
|
||||
|
||||
Reference in New Issue
Block a user