This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The Puppet Enterprise High Availability documentation states: | |
# | |
# Run the forget command whenever a replica node is destroyed, | |
# even if you plan to replace it with a replica with the same name. | |
# | |
# Some users prefer to forget and reuse (instead of destroy and replace) a replica. | |
# As an alternative, when `/opt/puppetlabs/bin/puppet-enterprise-uninstaller` isn't available, | |
# this script uninstalls Puppet Enterprise on the Replica. |