Merge pull request #1310 from Security-Onion-Solutions/issue/1281

Issue/1281
This commit is contained in:
Josh Patterson
2020-09-10 10:08:25 -04:00
committed by GitHub
40 changed files with 504 additions and 11 deletions
+14 -1
View File
@@ -1,3 +1,8 @@
{% set show_top = salt['state.show_top']() %}
{% set top_states = show_top.values() | join(', ') %}
{% if 'common' in top_states %}
{% set role = grains.id.split('_') | last %}
# Remove variables.txt from /tmp - This is temp
@@ -190,4 +195,12 @@ sensorrotateconf:
# Make sure Docker is always running
docker:
service.running:
- enable: True
- enable: True
{% else %}
common_state_not_allowed:
test.fail_without_changes:
- name: common_state_not_allowed
{% endif %}