Setup Script - removed salt calls from the pillar generation

This commit is contained in:
Mike Reeves
2018-03-23 17:13:28 -04:00
parent bffc664aef
commit 0cb6e136f6

View File

@@ -219,10 +219,6 @@ master_pillar() {
echo " elastalert: 1" >> /opt/so/saltstack/pillar/masters/$HOSTNAME.sls
echo " ls_pipeline_workers: $CPUCORES" >> /opt/so/saltstack/pillar/masters/$HOSTNAME.sls
salt-call state.highstate
salt-key -qya $HOSTNAME
salt-call state.highstate
node_pillar() {
# Create the node pillar
touch /tmp/$HOSTNAME.sls
@@ -491,6 +487,7 @@ if (whiptail_you_sure) then
accept_salt_key_local
# Do the big checkin
salt_checkin_message
salt_checkin
start_salt
whiptail_setup_complete