mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-05 19:08:10 +02:00
Setup Script - Ubuntu rollback of salt package version 2018.3
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ hiveconfdir:
|
|||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
hiveconf:
|
hiveconf:
|
||||||
file.manage:
|
file.managed:
|
||||||
- name: /opt/so/conf/hive/etc/application.conf
|
- name: /opt/so/conf/hive/etc/application.conf
|
||||||
- source: salt://hive/thehive/etc/application.conf
|
- source: salt://hive/thehive/etc/application.conf
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
|||||||
+4
-2
@@ -482,7 +482,7 @@ install_master() {
|
|||||||
|
|
||||||
# Install the salt master package
|
# Install the salt master package
|
||||||
if [ $OS == 'centos' ]; then
|
if [ $OS == 'centos' ]; then
|
||||||
yum -y install salt-master wget
|
yum -y install wget salt-common=2018.3.4+ds-1 salt-master=2018.3.4+ds-1
|
||||||
|
|
||||||
# Create a place for the keys for Ubuntu minions
|
# Create a place for the keys for Ubuntu minions
|
||||||
mkdir -p /opt/so/gpg
|
mkdir -p /opt/so/gpg
|
||||||
@@ -491,7 +491,7 @@ install_master() {
|
|||||||
wget --inet4-only -O /opt/so/gpg/GPG-KEY-WAZUH https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
wget --inet4-only -O /opt/so/gpg/GPG-KEY-WAZUH https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
||||||
|
|
||||||
else
|
else
|
||||||
apt-get install -y salt-master
|
apt-get install -y salt-common=2018.3.4+ds-1 salt-master=2018.3.4+ds-1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
copy_master_config
|
copy_master_config
|
||||||
@@ -768,7 +768,9 @@ EOF
|
|||||||
|
|
||||||
# Install the repo for salt
|
# Install the repo for salt
|
||||||
wget --inet4-only -O - https://repo.saltstack.com/apt/ubuntu/$UVER/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add -
|
wget --inet4-only -O - https://repo.saltstack.com/apt/ubuntu/$UVER/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add -
|
||||||
|
wget --inet4-only -O - https://repo.saltstack.com/apt/ubuntu/$UVER/amd64/2018.3/SALTSTACK-GPG-KEY.pub | apt-key add -
|
||||||
echo "deb http://repo.saltstack.com/apt/ubuntu/$UVER/amd64/latest xenial main" > /etc/apt/sources.list.d/saltstack.list
|
echo "deb http://repo.saltstack.com/apt/ubuntu/$UVER/amd64/latest xenial main" > /etc/apt/sources.list.d/saltstack.list
|
||||||
|
echo "deb http://repo.saltstack.com/apt/ubuntu/$UVER/amd64/2018.3 xenial main" > /etc/apt/sources.list.d/saltstack2018.list
|
||||||
|
|
||||||
# Lets get the docker repo added
|
# Lets get the docker repo added
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||||
|
|||||||
Reference in New Issue
Block a user