I'm have a task that I've written that I want executed after
deploy:symlink:release is executed. From looking
at http://capistranorb.com/documentation/getting-started/flow/
I'm missing something because when I uncomment the "after :deploy..." line
then things break and nothing works, saying
$ cap production deploy
(Backtrace restricted to imported tasks)
cap aborted!
Don't know how to build task 'uname'
Tasks: TOP => production
(See full trace by running task with --trace)
after :deploy, :uname
desc "Go get our code"
task :pull do
run_locally do
execute "rsync -avHI --log-file=rsync.log '#{repo_url}'
'#{fetch(:deploy_from)}'"
end
end
task :debug_tar_roles do
on roles(fetch(:tar_roles, :all)) do |h|
puts "Host Obj: #{h}"
info "#{capture(:hostname)}: #{capture(:uname)}"
end
end
desc "Show us the uname"
task :uname do
on roles(:OurServers) do |host|
puts capture(:'uname -a')
end
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 [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/capistrano/bf30f612-a0e5-4725-afed-ae9ef0519671%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.