Preparing the directories for consul-template.