hortonworks/HDP-Public-Utilities — pull request #2 by terrypadgett (2013-02-11 00:13:58+00:00)
Title: PostgreSQL directory cleanup

Added a tidbit to the cleanup script to remove the postgresql data directory if it is present. An option would be to perform an "ambari-server reset" if this is too brutal of a change.