Hi Jonathan, The puppetboard module uses stankevich/python to get it's underlying python bits setup so it might give you some ideas. https://forge.puppetlabs.com/nibalizer/puppetboard
I haven't deployed python apps much myself but the ideas you had would be where I would start. If you can't find anything decent I would see that as an opportunity to add your resulting module to puppet forge. :) On 10 Feb 2015 20:13, "Jonathan Gazeley" <[email protected]> wrote: > Hi folks, > > The developers at my place are designing a new set of webapps, which will > be written in Python/Django. This is new to us (our old stuff is nasty > Perl) and I've been asked to look at how to deploy these new apps using > Puppet. > > The Django apps will be developed in Git repos and releases will be tagged > so I am envisaging using puppetlabs/vcsrepo to deploy releases of the apps > to the web server's filesystem. The developers want to use virtualenv to > handle dependencies in their apps. Is there are a recommended method among > other Puppet admins to deploy Django apps from git with virtualenv and have > them served preferably with Apache or Nginx? > > I can't find a monolithic module to do this on the Forge so if nobody has > a wiser suggestion, I will probably write something using > puppetlabs/vcsrepo, stankevich/python and puppetlabs/apache. > > Thanks, > Jonathan > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/54D9D9B0.2080804%40bristol.ac.uk > <https://groups.google.com/d/msgid/puppet-users/54D9D9B0.2080804%40bristol.ac.uk?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAM8R_x_nwhBvNPF742uKiqSYt9txhvxoTQ324XWwvfZmRLo0tQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
