mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Setup script - Change order of operations
This commit is contained in:
@@ -8,6 +8,14 @@ trusttheca:
|
||||
- name: /etc/ssl/certs/intca.crt
|
||||
- text: {{ salt['mine.get'](master, 'x509.get_pem_entries')[master]['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||
|
||||
# Install packages needed for the sensor
|
||||
|
||||
m2cryptopkgs:
|
||||
pkg.installed:
|
||||
- skip_suggestions: False
|
||||
- pkgs:
|
||||
- python-m2crypto
|
||||
|
||||
{% if grains['role'] == 'so-master' %}
|
||||
# Request a cert and drop it where it needs to go to be distributed
|
||||
/etc/pki/filebeat.crt:
|
||||
|
||||
Reference in New Issue
Block a user