Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tools to execute on multiple hosts via ssh in parallel.
Ruby
branch: master
Failed to load latest commit information.
bin
examples
lib
man
spec + Read hosts from stdin
.gitignore
Gemfile
Gemfile.lock Updates gems and checks for problems
Guardfile
History.txt
LICENSE
README . a preliminary readme
Rakefile
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.