Helix node type

This commit is contained in:
Mike Reeves
2019-12-09 12:49:46 -05:00
parent f61cb3b890
commit 8342dc1447
3 changed files with 5 additions and 2 deletions

View File

@@ -29,5 +29,8 @@ base:
- firewall.* - firewall.*
'G@role:so-helix': 'G@role:so-helix':
- masters.{{ grains.id }}
- static
- firewall.*
- fireeye - fireeye
- static - static

View File

@@ -406,7 +406,7 @@ docker_install() {
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y update yum -y update
yum -y install docker-ce python36-docker yum -y install docker-ce python36-docker
if [ $INSTALLTYPE != 'EVALMODE' ] || [ $INSTALLTYPE == 'HELIXSENSOR' ]; then if [ $INSTALLTYPE != 'EVALMODE' ]; then
docker_registry docker_registry
fi fi
echo "Restarting Docker" >> $SETUPLOG 2>&1 echo "Restarting Docker" >> $SETUPLOG 2>&1

View File

@@ -180,7 +180,7 @@ if (whiptail_you_sure) ; then
docker_install >> $SETUPLOG 2>&1 docker_install >> $SETUPLOG 2>&1
echo -e "XXX\n10\nConfiguring Salt Master... \nXXX" echo -e "XXX\n10\nConfiguring Salt Master... \nXXX"
echo " ** Configuring Minion **" >> $SETUPLOG echo " ** Configuring Minion **" >> $SETUPLOG
configure_minion master >> $SETUPLOG 2>&1 configure_minion helix >> $SETUPLOG 2>&1
echo " ** Installing Salt Master **" >> $SETUPLOG echo " ** Installing Salt Master **" >> $SETUPLOG
install_master >> $SETUPLOG 2>&1 install_master >> $SETUPLOG 2>&1
salt_master_directories >> $SETUPLOG 2>&1 salt_master_directories >> $SETUPLOG 2>&1