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:

  1. Run the command ./psft-dpk-setup.sh --cleanup.

  2. 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.sh

    Leave the shell window open while you complete the next step.

  3. Open the file BASE_DIR/dpk/puppet/production/data/defaults.yaml in a text editor, such as vi.

  4. Change the value of the ensure attribute from present to absent.

    Save and close the defaults.yaml file.

  5. Follow the instructions from step 2 to run the psft_puppet_apply.sh script.