moved config template block inside cluster cond.