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:

  1. Run the command psft-dpk-setup.bat --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 [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.cmd

    Leave the command 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 Notepad.

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

    Save and close the defaults file.

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