mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42: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
|
- 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', '') }}
|
||||||
|
|
||||||
|
# Install packages needed for the sensor
|
||||||
|
|
||||||
|
m2cryptopkgs:
|
||||||
|
pkg.installed:
|
||||||
|
- skip_suggestions: False
|
||||||
|
- pkgs:
|
||||||
|
- python-m2crypto
|
||||||
|
|
||||||
{% if grains['role'] == 'so-master' %}
|
{% if grains['role'] == 'so-master' %}
|
||||||
# Request a cert and drop it where it needs to go to be distributed
|
# Request a cert and drop it where it needs to go to be distributed
|
||||||
/etc/pki/filebeat.crt:
|
/etc/pki/filebeat.crt:
|
||||||
|
|||||||
@@ -423,7 +423,9 @@ saltify() {
|
|||||||
|
|
||||||
# Initialize the new repos
|
# Initialize the new repos
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install salt-minion
|
apt-get -y install salt-minion docker-ce
|
||||||
|
docker_registry
|
||||||
|
service docker restart
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -947,7 +949,6 @@ if (whiptail_you_sure); then
|
|||||||
whiptail_basic_suri
|
whiptail_basic_suri
|
||||||
fi
|
fi
|
||||||
whiptail_make_changes
|
whiptail_make_changes
|
||||||
docker_registry
|
|
||||||
sensor_pillar
|
sensor_pillar
|
||||||
copy_ssh_key
|
copy_ssh_key
|
||||||
create_bond
|
create_bond
|
||||||
|
|||||||
Reference in New Issue
Block a user