aws_csshx 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,7 @@
1
+ ### aws_csshx 0.1.2 2012-05-04
2
+
3
+ * Bug with listing servers
4
+
1
5
  ### aws_csshx 0.1.1 2012-05-04
2
6
 
3
7
  * Added command line switches (Eric Lubow)
data/README.md CHANGED
@@ -6,3 +6,18 @@ This is a wrapper script for ClusterSSHX (csshx). It allows the user the abilit
6
6
 
7
7
  gem install aws_csshx
8
8
 
9
+ ### Configuration
10
+
11
+ The easist way to configure this gem is to add the following 4 lines to your _~/.csshrc_ (replace with your values):
12
+ aws_region = us-east-1
13
+ aws_access_key = AAAAAAAAAAAAAAAAAAAA
14
+ aws_secret_key = TaaaaaLNiYbbbbbJm6uuqphcccccXtZydddddDfd
15
+ ec2_private_key = /Users/elubow/.ssh/amazon.pem
16
+
17
+
18
+ ### Examples
19
+
20
+ The most common use/case of _aws_csshx_ is to just ssh into a security group.
21
+ For instance, to SSH into the entire *utility* security group as *root*, do the following:
22
+
23
+ aws_csshx -g 'utility' -l root
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # Add our local lib directory
3
4
  $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
4
5
  require 'aws_csshx'
5
6
 
@@ -13,7 +13,7 @@ module AwsCsshx
13
13
  end
14
14
 
15
15
  def has_servers?(list)
16
- server_list.count > 0 ? true : false
16
+ list.count > 0 ? true : false
17
17
  end
18
18
 
19
19
  def run!(*arguments)
@@ -1,3 +1,3 @@
1
1
  module AwsCsshx
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_csshx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: