If we've succesfully initialized the local data directory, record a 'has_data' flag on the node. This can be used from calling recipes to find an appropriate node to promote to master after loss of the previous master.
If we've succesfully initialized the local data directory, record a
'has_data' flag on the node. This can be used from calling recipes to
find an appropriate node to promote to master after loss of the
previous master.

apcera/chef-postgresql,apcera/chef-postgresql,apcera/chef-postgresql