From 67287ae9fc838ccbeb7c193ac6e5c46f91cf6c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Thu, 25 Aug 2011 11:44:29 +0800 Subject: [PATCH] use version 0.025. --- Changes | 3 ++- META.yml | 2 +- README | 5 +---- bin/fornodes | 8 +++++--- lib/SSH/Batch.pm | 2 +- lib/SSH/Batch/ForNodes.pm | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Changes b/Changes index f061aed..e0d20c6 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ 0.025 - update variable format check to \w[-\.\w]* -- added SSH_BATCH_PASSPHRASE for -P and SSH_BATCH_PASSWORD env for -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 diff --git a/META.yml b/META.yml index 229bc03..20231b9 100644 --- a/META.yml +++ b/META.yml @@ -30,4 +30,4 @@ requires: resources: license: http://opensource.org/licenses/bsd-license.php repository: http://github.com/agentzh/sshbatch -version: 0.026 +version: 0.025 diff --git a/README b/README index c8e0186..92525a5 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME arithmetic VERSION - This document describes SSH::Batch 0.024 released on Nov 1, 2010. + This document describes SSH::Batch 0.025 released on 25 August 2011. SYNOPSIS The following scripts are provided: @@ -47,9 +47,6 @@ SYNOPSIS # or prompt for password if sudo required... $ atnodes 'sudo apachectl restart' '{ps}' -w - # use -P to prompt for passphrase (no echo back) - $ atnodes hostname '{ps}' -u agentz -P - # run sudo command if tty required... $ atnodes -tty 'sudo apachectl restart' '{ps}' diff --git a/bin/fornodes b/bin/fornodes index 17c4007..37b43ef 100644 --- a/bin/fornodes +++ b/bin/fornodes @@ -67,6 +67,8 @@ _EOC_ __END__ +=encoding utf-8 + =head1 NAME fornodes - Expand patterns to machine host list @@ -105,13 +107,13 @@ Please refer to L for more documentation. L, L, L, L, L. -=head1 COPYRIGHT AND LICENSE +=head1 COPYRIGHT & LICENSE This module as well as its programs are licensed under the BSD License. -Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. All rights reserved. +Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. -Copyright (C) 2009, Agent Zhang (agentzh). All rights reserved. +Copyright (C) 2009, 2010, 2011, Zhang "agentzh" Yichun (章亦春). Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/lib/SSH/Batch.pm b/lib/SSH/Batch.pm index ed278a1..682b536 100644 --- a/lib/SSH/Batch.pm +++ b/lib/SSH/Batch.pm @@ -14,7 +14,7 @@ SSH::Batch - Cluster operations based on parallel SSH, set and interval arithmet =head1 VERSION -This document describes SSH::Batch 0.024 released on Nov 1, 2010. +This document describes SSH::Batch 0.025 released on 25 August 2011. =head1 SYNOPSIS diff --git a/lib/SSH/Batch/ForNodes.pm b/lib/SSH/Batch/ForNodes.pm index a333237..fb147d5 100644 --- a/lib/SSH/Batch/ForNodes.pm +++ b/lib/SSH/Batch/ForNodes.pm @@ -3,7 +3,7 @@ package SSH::Batch::ForNodes; use strict; use warnings; -our $VERSION = '0.024'; +our $VERSION = '0.025'; use Set::Scalar; use File::HomeDir;