salt-django-example icon indicating copy to clipboard operation
salt-django-example copied to clipboard

Deploy Strategy

Open andresdouglas opened this issue 12 years ago • 2 comments

I asked this question on the Google Group, reposting here in case it's a better place to get an answer. How are you deploying several sites from the same salt master? I've been embedding this repo into my project repo using git subtrees, but it seems like that may not be the "saltiest" way to do it. What's your technique?

andresdouglas avatar Oct 16 '13 19:10 andresdouglas

Your salt formulas should really live in one or more separate git repositories, away from your projects, and they get updated via git to your salt master. Not sure if that answers your question.

akoumjian avatar Oct 16 '13 19:10 akoumjian

That's what I suspected. What acts as the glue between salt formulas and my repos? AFAICT I have to specify what the git repo is in the pillar settings, so I would have to modify this repository

andresdouglas avatar Oct 16 '13 19:10 andresdouglas