instance_selector 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,11 +1,15 @@
1
1
  # InstanceSelector
2
2
 
3
- A simple interface for querying DNS names cloud hosting environments based on searching cloud meta data. It also provides a liberal Capistrano interface for identifying deploy targets.
3
+ Remove the configuration pain when deploying to cloud servers.
4
4
 
5
- Currently supporting:
5
+ When deploying applications with Capistrano, you need to itemize the servers for each role. When you only have a server or two, this is easily managed. However, if you have many servers provisioned via a CM tool, keeping track of them becomes difficult.
6
6
 
7
- - AWS
8
- - ec2 instance filtering
7
+ By tagging servers with some meta data when they are created, you can filter
8
+ the server list to only the ones pertaining to the current deploy.
9
+
10
+ ## Status
11
+
12
+ Currently, only EC2 instances are supported.
9
13
 
10
14
  ## Installation
11
15
 
@@ -29,12 +33,12 @@ By default, only running instances will be included in the results. Overriding
29
33
 
30
34
  require 'instance_selector/connection'
31
35
  conn = InstanceSelector::Connection.factory(:aws)
32
- instances = connection.instances(:tags => {"Environment" => "staging"})
36
+ instances = connection.instances(:tags => {"Environment" => "staging", "Role" => "web"})
33
37
 
34
38
  ### With Capistrano
35
39
 
36
40
  require 'instance_selector/capistrano'
37
- instance_selector :app, :aws, :tags => {"Environment" => "staging"}
41
+ instance_selector :app, :aws, :tags => {"Environment" => "staging", "Role" => "web"}
38
42
 
39
43
  ### Filters
40
44
 
@@ -1,3 +1,3 @@
1
1
  module InstanceSelector
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: instance_selector
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kevin McFadden
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-03 00:00:00.000000000 Z
12
+ date: 2013-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
@@ -78,7 +78,8 @@ dependencies:
78
78
  description: Retrieve cloud instance DNS names from metadata search
79
79
  email:
80
80
  - kmcfadden@gmail.com
81
- executables: []
81
+ executables:
82
+ - instance_selector
82
83
  extensions: []
83
84
  extra_rdoc_files: []
84
85
  files:
@@ -87,6 +88,7 @@ files:
87
88
  - LICENSE.txt
88
89
  - README.md
89
90
  - Rakefile
91
+ - bin/instance_selector
90
92
  - instance_selector.gemspec
91
93
  - lib/instance_selector.rb
92
94
  - lib/instance_selector/capistrano.rb
@@ -106,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
108
  - !ruby/object:Gem::Version
107
109
  segments:
108
110
  - 0
109
- hash: -1808796389303404044
111
+ hash: 3503566425414564058
110
112
  version: '0'
111
113
  none: false
112
114
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -115,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
117
  - !ruby/object:Gem::Version
116
118
  segments:
117
119
  - 0
118
- hash: -1808796389303404044
120
+ hash: 3503566425414564058
119
121
  version: '0'
120
122
  none: false
121
123
  requirements: []