Permalink
Browse files

CPAN release 0.027.

  • Loading branch information...
1 parent 21809ee commit 94cfb1830ce1483c564184835923436b1e4bdfce @agentzh committed Aug 25, 2011
Showing with 18 additions and 5 deletions.
  1. +7 −4 Changes
  2. +11 −1 README
View
11 Changes
@@ -1,9 +1,12 @@
0.027
-- update variable format check to \w[-\.\w]*
+- added support for the environment SSH_BATCH_RC to specify a
+ different file name than the default ~/.fornodesrc.
+ thanks Mithun Ayachit.
+- updated host variable format check to /\w[-\.\w]*/.
- added the SSH_BATCH_PASSPHRASE environment for -P and
- SSH_BATCH_PASSWORD env for -w
-- added passphrase support
-- added some doc for tty option
+ SSH_BATCH_PASSWORD env for -w.
+- added passphrase support.
+- added some doc for tty option.
0.024
- tonodes: added rsync archive, update and compress mode. (liseen)
View
12 README
@@ -80,7 +80,8 @@ DESCRIPTION
operations: fornodes, atnodes, tonodes, and key2nodes.
"SSH::Batch" allows you to name your clusters using variables and
- interval/set syntax in your ~/.fornodesrc config file. For instance:
+ interval/set syntax in your ~/.fornodesrc config file (or a different
+ file name specified by the "SSH_BATCH_RC" environment). For instance:
$ cat ~/.fornodesrc
A=foo[01-03].com bar.org
@@ -257,6 +258,15 @@ TIPS
$ atnodes 'ls -lh' '{B} + bob@bar[29-31].org:5678'
+ It's also possible to specify a different rc config file than
+ ~/.fornodesrc via the environment variable "SSH_BATCH_RC". For
+ example,
+
+ export SSH_BATCH_RC=/opt/my-fornodes-rc
+
+ then the file /opt/my-fornodes-rc will be used instead of the
+ default ~/.fornodesrc file.
+
Use "-L" to help grepping the outputs by hostname
When managing hundreds or even thousands of machines, it's often
more convenient to "grep" over the outputs of atnodes or tonodes by

0 comments on commit 94cfb18

Please sign in to comment.