Answer the question
In order to leave comments, you need to log in
Puppet deploy Rails
Good afternoon!
Please tell me how can I deploy a Rails web application on servers automatically through Puppet?
Capistrano is a very good tool, but can it auto-deploy? It's just that the task is the following - you will need to pour a lot of the same type of hosts - a new virtual machine is created, the environment is poured and you need to pour the rails application there ... All the same, how to do it automatically and competently?
Answer the question
In order to leave comments, you need to log in
It is necessary to use, in addition to puppet, another tool for unfolding. Puppet is a "filler" (provisioning). Those. this is the system configuration in code. Because of this, the model for updating the configuration once every half an hour, etc., has been adopted.
Application deployment is a separate task. For her, there is MCollective, which used to be part of the puppet, and now it is developing separately. It already allows deployment on call to multiple machines managed by this MCollective. The analogue of this tool is just Capistrano.
Read the Pro Puppet book for how MCollective is used there.
1) you can try to package your application (deb, ebuild, rpm) + file autobuild
2) in the boss, you can create a git resource and, for example, do pull and a certain set of commands you need, I think something similar is built in pappet
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question