Add variable checks to postgresql::debian and postgresql::redhat