IDH - Pillarize OpenCanary Config

This commit is contained in:
Josh Brower
2022-02-15 13:57:31 -05:00
parent 1e5b9ef0bf
commit 3ccef12df7
5 changed files with 100 additions and 122 deletions
+7 -9
View File
@@ -20,16 +20,14 @@ configdir:
- group: 939
- makedirs: True
# Sync IDH files
idhfiles:
file.recurse:
- name: /opt/so/conf/idh
- user: 0
- group: 0
- file_mode: 755
- source: salt://idh/config
- replace: False
{% from 'idh/opencanary_config.map.jinja' import OPENCANARYCONFIG with context %}
opencanary_config:
file.managed:
- name: /opt/so/conf/idh/opencanary.conf
- source: salt://idh/idh.conf.jinja
- template: jinja
- defaults:
OPENCANARYCONFIG: {{ OPENCANARYCONFIG }}
so-idh:
docker_container.running: