Your link doesn't work anymore. Is the code you've posted the extent of 
your plugin or is there more to it?

Thanks.

On Wednesday, 6 June 2007 08:48:12 UTC+10, mathieul wrote:
>
> Hello,
>
> Capistrano can be so useful, even away from Rails application deployment!
>
> I have written a plugin to install local RPM and GEM packages (stored on 
> the host running Capistrano) to remote servers. I thought that somebody 
> else could be interested, so it is available here: 
> http://www.zlaj.org/package_plugin.html .
>
> Please note that it is limited to what I need, but it could help anybody 
> interested in something similar.
>
> Mathieu
>
> P.S.: Here is an example:
>
> require "package_plugin"
>
>   set :rpm_memcached, "memcached-1.1.12-1.2.el4.rf.i386.rpm"
>   set :gem_memcached, "Ruby-MemCache-0.0.1.gem"
>
>   set :depot_dir, "#{ENV['HOME']}/depot"
>   set :rpm_depot_dir, depot_dir + '/rpm'
>   set :gem_depot_dir, depot_dir + '/gem'
>
>   role :core, "server01"
>   role :util, "server01"
>
>   desc "Install memcached"
>   task :install_memcached, :roles => [:core, :util] do
>     package.install rpm_memcached
>     package.install gem_memcached
>   end
>
>   desc "Uninstall memcached"
>   task :uninstall_memcached, :roles => [:core, :util] do
>     package.uninstall rpm_memcached
>     package.uninstall gem_memcached
>   end
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/e8fb3a28-f16c-4fe2-9b47-abdc14ba8c2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to