ensemble is really something that is set at the level of the zookeeper service and its default value has to be an array of all the nodes that happen to have that particular role assigned to them. The only place where that role information is available would be Hiera and hence I'm not sure I understand your change.