Using the psft_puppet_apply.sh Script to Remove the PeopleSoft Environment on Linux
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.sh 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 with the psft_puppet_apply.sh script on Linux:
-
Run the command
./psft-dpk-setup.sh --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 [/opt/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. From the shell, run BASE_DIR/psft_puppet_apply.shLeave the shell 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 vi.
-
Change the value of the
ensureattribute frompresenttoabsent.Save and close the defaults.yaml file.
-
Follow the instructions from step 2 to run the psft_puppet_apply.sh script.