mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 19:22:54 +01:00
SSL Module - Fix some paths
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
{% set master = salt['grains.get']('master') %}
|
{% set master = salt['grains.get']('master') %}
|
||||||
# Trust the CA
|
# Trust the CA
|
||||||
/usr/local/share/ca-certificates:
|
#/usr/local/share/ca-certificates:
|
||||||
file.directory: []
|
# file.directory: []
|
||||||
|
|
||||||
/usr/local/share/ca-certificates/intca.crt:
|
trusttheca:
|
||||||
x509.pem_managed:
|
x509.pem_managed:
|
||||||
|
- name: /etc/ssl/certs/intca.crt
|
||||||
- text: {{ salt['mine.get'](master, 'x509.get_pem_entries')[master]['/etc/pki/ca.crt']|replace('\n', '') }}
|
- text: {{ salt['mine.get'](master, 'x509.get_pem_entries')[master]['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||||
|
|
||||||
{% if grains['role'] == 'so-master' %}
|
{% if grains['role'] == 'so-master' %}
|
||||||
@@ -23,7 +24,11 @@
|
|||||||
backup: True
|
backup: True
|
||||||
|
|
||||||
# Create Symlinks to the keys so I can distribute it to all the things
|
# Create Symlinks to the keys so I can distribute it to all the things
|
||||||
|
filebeatdir:
|
||||||
|
file.directory:
|
||||||
|
- name: /opt/so/saltstack/salt/filebeat/files
|
||||||
|
- mkdirs: True
|
||||||
|
|
||||||
fbkeylink:
|
fbkeylink:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- name: /opt/so/saltstack/salt/filebeat/files/filebeat.key
|
- name: /opt/so/saltstack/salt/filebeat/files/filebeat.key
|
||||||
|
|||||||
Reference in New Issue
Block a user