mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
common salt module - fix file name and add direcltry
This commit is contained in:
@@ -44,13 +44,20 @@ toosmooth/so-core:test2:
|
|||||||
|
|
||||||
# Drop the correct nginx config based on role
|
# Drop the correct nginx config based on role
|
||||||
|
|
||||||
|
nginxconfdir:
|
||||||
|
file.directory:
|
||||||
|
- name: /opt/so/conf/nginx
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
nginxconf:
|
nginxconf:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /opt/so/conf/nginx/nginx.conf
|
- name: /opt/so/conf/nginx/nginx.conf
|
||||||
- user: 939
|
- user: 939
|
||||||
- group: 939
|
- group: 939
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- source: salt://conf/nginx/nginx.conf.{{ grains.role }}
|
- source: salt://common/nginx/nginx.conf.{{ grains.role }}
|
||||||
|
|
||||||
# Start the core docker
|
# Start the core docker
|
||||||
so-core:
|
so-core:
|
||||||
|
|||||||
Reference in New Issue
Block a user