Is there a Perl or Lua alternative to Capistrano?
Asked Answered
F

2

12

For a number of web-applications I need something like Capistrano to automate deployment. I know Capistrano can be used to deploy non-ruby applications but I'm not familiar with Ruby, so I expect writing deployment configurations can be a bit of a pain.

So I was wondering, are there any alternatives to Capistrano written in either Perl of Lua?

Also, forgot to mention, the platform running the deployments is Windows (XP). So Capistrano is already more or less out of the question. Although I found out it can run with the MINGW32 Bash shell that comes with Git for Windows.

Fortier answered 2/12, 2009 at 10:41 Comment(3)
Just learn Ruby. It's not that hard and you don't need to know that much to use Capistrano.Readjustment
I gave Capistrano a go but it doesn't integrate nicely on Windows. Maybe I should give it another try.Fortier
Gave it another go today but it's really troublesome on Windows. Also found a post of the (original?) developer stating he doesn't care if it runs on Windows or not. So Capistrano is out of the question for me since running a VPS only for deploying applications is not a viable solution at the moment.Fortier
S
12

Not sure there is an exact Perl "clone" of Capistrano.

However on CPAN there are these Make / Rake like tools:

And these SSH tools:

So combination of these should fit the bill.

PS. Regarding your update - Net::SSH::Perl maybe useful if you don't have SSH installed on machine (this is pure Perl SSH implementation).

Stint answered 2/12, 2009 at 12:57 Comment(6)
Thanks. Looks like I can create something usable with App::PPBuild and Net::SSH (or Net::SSH::Perl). A nice feature about Capistrano is that you can manage multiple servers at the same time. Although cool, it's not a feature I need now or in the future. App::PPBuild is no Capistrano so I'll let this one open for a bit longer before clicking the answered button. Hoping that a full fledged solution is available.Fortier
Net::SSH::Perl just hangs on the command line in Windows. Tried installing it with cpan and ppm but once I try to setup a connection it just hangs.Fortier
Net::SSH::Perl works here for me (on Mac though)... though it wasn't without its hiccups! If you still having problems with it then might be best to post a new question. Alternatively you may find installing SSH and using one of the other modules a better option.Stint
Although I stated above a VPS wouldn't a viable solution for us it is the way we're going now anyway (we've got some server resources left). So I'll be running Capistrano and there's no longer a need for an alternative.Fortier
These days a viable Perl alternative for Capistrano does exist in the form of Rex (rexify.org).Fortier
@Fortier Yep. I have mentioned Rex in another SO answer. I should have updated it here long ago but I won't now that Olivier D answer covers Rex. See Is there anything like Fabric for Perl? #7282336Stint
K
8

The Perl alternative is Rex. And it has way more features than capistrano.

Kostroma answered 22/7, 2013 at 9:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.