ruby on rails - Division of labour: Capistrano vs Chef -
where draw line between provisioning (chef) , deployment (capistrano)?
for example, take creating nginx , unicorn setup rails. installing nginx chef territory. things configuration files (nginx.conf
, unicorn_init.sh
) , unicorn config (unicorn.rb
)--how divide up?
the official capistrano 3 tutorial makes no mention of related web or app server configuration.
so responsibility these?
this opinion-based, i'll answer anyway.
you draw line wherever want draw line.
chef's main guiding philosophy is:
you know infrastructure best...
some organizations use chef setup shared folders, links, assets, etc (like cap deploy:setup
does). organizations just manage infrastructure bits (users, permissions, software installed). , organizations deploy entirely chef (no capistrano @ all).
it's personal preferences , organizational culture.
Comments
Post a Comment