Add more logging to setup process

This commit is contained in:
Mike Reeves
2022-09-12 15:43:18 -04:00
parent 17239ac6e4
commit ea7c8e1fd9

View File

@@ -822,6 +822,11 @@ copy_salt_master_config() {
logCmd "cp ../files/salt/master/master /etc/salt/master" logCmd "cp ../files/salt/master/master /etc/salt/master"
logCmd "cp ../files/salt/master/salt-master.service /usr/lib/systemd/system/salt-master.service" logCmd "cp ../files/salt/master/salt-master.service /usr/lib/systemd/system/salt-master.service"
fi fi
info "Copying pillar and salt files in '$temp_install_dir' to '$local_salt_dir'"
logCmd "cp -Rv '$temp_install_dir'/pillar/ '$local_salt_dir'/"
if [ -d "$temp_install_dir"/salt ] ; then
logCmd "cp -Rv '$temp_install_dir'/salt/ $local_salt_dir/"
fi
# Restart the service so it picks up the changes # Restart the service so it picks up the changes
logCmd "systemctl daemon-reload" logCmd "systemctl daemon-reload"