Merge pull request #661 from Security-Onion-Solutions/quickfix/common

move statedir and salttmp from salt state to common state
This commit is contained in:
Josh Patterson authored and GitHub committed 2020-05-12 17:00:13 -04:00
commit 81d66207ed
2 files changed
+14 -14

No files matched your search

+14
View File
@@ -13,6 +13,20 @@ socore:
- createhome: True
- shell: /bin/bash
# Create a state directory
statedir:
file.directory:
- name: /opt/so/state
- user: 939
- group: 939
- makedirs: True
salttmp:
file.directory:
- name: /opt/so/tmp
- user: 939
- group: 939
- makedirs: True
# Install packages needed for the sensor
sensorpkgs:
-14
View File
@@ -1,18 +1,4 @@
# Create a state directory
statedir:
file.directory:
- name: /opt/so/state
- user: 939
- group: 939
- makedirs: True
salttmp:
file.directory:
- name: /opt/so/tmp
- user: 939
- group: 939
- makedirs: True
{% if grains['os'] != 'CentOS' %}
saltpymodules: