Setup Script - Fix install_master function

This commit is contained in:
Mike Reeves
2018-03-23 09:52:33 -04:00
parent ed469123e2
commit bc79aaf171

View File

@@ -165,7 +165,12 @@ got_root() {
}
install_master() {
yum -y install salt-master
if [ $OS == 'centos' ]; then
yum -y install salt-master
else
apt install -y salt-master
fi
copy_master_config
# If Centos Enable the service
}
@@ -411,7 +416,7 @@ if (whiptail_you_sure) then
start_salt
echo "accepting master key"
accept_salt_key_local
whiptail_setup_complete
fi