Hive State - Fix cortex docker name

This commit is contained in:
Mike Reeves
2019-11-04 11:31:27 -05:00
parent 47be406075
commit d658473485

View File

@@ -20,7 +20,7 @@ hiveconf:
- user: 939 - user: 939
- group: 939 - group: 939
- template: jinja - template: jinja
cortexconfdir: cortexconfdir:
file.directory: file.directory:
- name: /opt/so/conf/cortex - name: /opt/so/conf/cortex
@@ -90,13 +90,13 @@ so-thehive-es:
so-corteximage: so-corteximage:
cmd.run: cmd.run:
- name: docker pull --disable-content-trust=false docker.io/soshybridhunter/so-cortex:HH1.1.3 - name: docker pull --disable-content-trust=false docker.io/soshybridhunter/so-thehive-cortex:HH1.1.3
so-cortex: so-cortex:
docker_container.running: docker_container.running:
- require: - require:
- so-corteximage - so-corteximage
- image: docker.io/soshybridhunter/so-cortex:HH1.1.3 - image: docker.io/soshybridhunter/so-thehive-cortex:HH1.1.3
- hostname: so-cortex - hostname: so-cortex
- name: so-cortex - name: so-cortex
- user: 939 - user: 939
@@ -104,7 +104,7 @@ so-cortex:
- /opt/so/conf/hive/etc/cortex-application.conf:/opt/cortex/conf/application.conf:ro - /opt/so/conf/hive/etc/cortex-application.conf:/opt/cortex/conf/application.conf:ro
- port_bindings: - port_bindings:
- 0.0.0.0:9001:9001 - 0.0.0.0:9001:9001
cortexscript: cortexscript:
cmd.script: cmd.script:
- source: salt://hive/thehive/scripts/cortex_init.sh - source: salt://hive/thehive/scripts/cortex_init.sh