Is there a Perl or Lua alternative to Capistrano?

ⅰ亾dé卋堺 提交于 2019-11-30 01:51:48

问题


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.


回答1:


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

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

  • App::PPBuild (no longer available on CPAN, it can be found on BackPan in EXODIST folder)
  • Pake

And these SSH tools:

  • SSH::Command
  • SSH::RPC
  • Net::OpenSSH
  • Net::SSH
  • Net::SSH::Perl

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).




回答2:


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



来源:https://stackoverflow.com/questions/1832101/is-there-a-perl-or-lua-alternative-to-capistrano

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!