Add more logging to setup process

This commit is contained in:
Mike Reeves
2022-09-12 15:46:33 -04:00
parent ea7c8e1fd9
commit 7ec66d1cd1

View File

@@ -823,9 +823,9 @@ copy_salt_master_config() {
logCmd "cp ../files/salt/master/salt-master.service /usr/lib/systemd/system/salt-master.service"
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'/"
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/"
logCmd "cp -Rv $temp_install_dir/salt/ $local_salt_dir/"
fi
# Restart the service so it picks up the changes