refacter confd configuration