getRepoDef generate a basic yum repository directory for the clients