Added idempotent pgdata cluster rest

This should make the cluster rest idempotent