factor out common cluster config from setup-dev-cluster and buildbot/Makefile