Fix TOP File Logic and syntac error in logstash state

This commit is contained in:
Mike Reeves
2018-08-08 09:43:04 -04:00
parent 2f65b834d9
commit f61ad7fb74
3 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
schedule:
highstate:
funtion: state.highstate
minutes: 15
maxrunning: 1

View File

@@ -9,3 +9,8 @@ base:
- masters.{{ grains.host }}
- static
- firewall.*
'G@role:so-node':
- nodes.schedule
- nodes.{{ grains.host }}
- static

View File

@@ -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