In which file is :uname defined? Sent from my Nexus 5. On 24 Feb 2015 21:55, <deadbeef...@gmail.com> wrote:
> 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 capistrano+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/bf30f612-a0e5-4725-afed-ae9ef0519671%40googlegroups.com > <https://groups.google.com/d/msgid/capistrano/bf30f612-a0e5-4725-afed-ae9ef0519671%40googlegroups.com?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 "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/CAN_%2BVLU6Dr2r4k3nFL4zkH5NbnMYKe0Q2FXcVOM329fUn2YHRA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.