def load_current_resource
@pg = Chef::PostgreSQL.new(new_resource.cluster)
@current_resource = Chef::Resource::PostgresqlDatabase.new(new_resource.name)
@current_resource.database(new_resource.database)
@current_resource.cluster(new_resource.cluster)
def load_current_resource
@pg = Chef::PostgreSQL.new(new_resource.cluster)
@current_resource = Chef::Resource::PostgresqlDatabase.new(new_resource.name)
@current_resource.database(new_resource.database)
@current_resource.cluster(new_resource.cluster)