I have a RoR app running on 2 app/web servers using nginx/unicorn. The site is deployed using Rubber from the "master" branch of our repo. Life is good!
Some of the new customers we are working with require their data and files to be kept on separate servers. We are planning on having separate boxes for each of these customers. The sites for these customers will be available at customerX.site.com and the code for these apps will be the same as the code in the "master" branch except for a couple of images and the database.yml file.
So my question is, is there a way to set the git branch that should be used to pull the code based on the role of the box or any alternative to easily manage this multi-app deployment process?