Added a few blocks to conditionally move default Ubuntu Postgres data_directory files generated from the package manager's installation of postgres to a custom data_directory specified by the existing node['postgresql']['config']['data_directory] if it's empty.