Using the psft_puppet_apply.cmd Script to Remove the PeopleSoft Environment on Microsoft Windows
If the cleanup procedure using the DPK setup script
was not entirely successful, the BASE_DIR folders
may not be entirely cleared, or you may have trouble when carrying
out another deployment. In case of a failed deployment, try running
the psft_puppet_apply.cmd script as described here. This script sets
environment variables and then runs the puppet apply command to remove the PeopleSoft environment.
To remove the environment on Microsoft Windows:
-
Run the command
psft-dpk-setup.bat --cleanup. -
If the script fails, you should see a message similar to the following:.
The initialization of PeopleSoft environment setup failed. Check the log file [C:\DPK_INSTALL\setup\psft_dpk_setup.log] for the errors. After correcting the errors, run the following commands to continue with the setup of PeopleSoft environment. Start a cmd window as Administrator and run BASE_DIR\psft_puppet_apply.cmdLeave the command window open while you complete the next step.
-
Open the file BASE_DIR\dpk\puppet\production\data\defaults.yaml in a text editor, such as Notepad.
-
Change the value of the
ensureattribute frompresenttoabsent.Save and close the defaults file.
-
Follow the instructions from step 2 to run the psft_puppet_apply.cmd script.