Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Tools to execute on multiple hosts via ssh in parallel.

tree: 8b4021af0f

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Guardfile
Octocat-spinner-32 History.txt
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 ndo.gemspec
README
ndo does things N times. 

SYNOPSIS

  mc = Ndo::MultiCommand.new('uname -n', %w(hostA hostB hostC))
  results = mc.run
  
  results['hostA'] # => 'hostA'
  results.each do |result|
    result # => "hostA", "hostB", "hostC"
  end
  
ON THE COMMAND LINE

1) Create a host set

A host set is a file in below ~/.ndo that contains a list of host names,
separated by newlines. Easily generated. 

2) Run a command on a host set

  $ ndo my_host_set ls
  callisto     Tue Sep 13 09:17:41 CEST 2011
  cyllene      Tue Sep 13 09:17:41 CEST 2011
  helike       Tue Sep 13 09:17:41 CEST 2011
  himalia      Tue Sep 13 09:17:41 CEST 2011
  
As you can see, it appears that time synch works on these machines. 

STATUS

This is a very early version; It could handle errors better. That said, ndo is
a very useful tool that can replace vlad or capistrano for easy things. 
Something went wrong with that request. Please try again.