rivet 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +4 -2
- data/lib/rivet/as/autoscale.rb +6 -1
- data/lib/rivet/common/aws_utils.rb +1 -1
- data/lib/rivet/version.rb +1 -1
- data/rivet.gemspec +2 -2
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26c79090e944df3824fb039a5d5c487a08a91c25
|
4
|
+
data.tar.gz: 348ae1404b27a6b8ebafd9ccb895ab26d34e6092
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ba4974b2c532941bd0b33c957c1dd36c58bfb2fa05c7f5dee560d6b2ccd0d1c9f46d93779b610f84aa405cbe29722e75e9d106f996039c95b59d54f495a22ad
|
7
|
+
data.tar.gz: e7d542f8ce04e592a48082a21899b4c6eb9cc22bc239909f96defe56cdf086101cf3c74058231daa73cc380e15a564fcd40b3a03b24a81dddb85a23624010078
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -137,11 +137,13 @@ network_interfaces ARRAY <optional>
|
|
137
137
|
Availability zones should use the single character of the zone ('a', 'b','c'). The region will be appended by rivet.
|
138
138
|
|
139
139
|
Tags should be an Array of Hashes with the format:
|
140
|
+
```
|
140
141
|
{ key: String,
|
141
142
|
value: String,
|
142
143
|
propogate_at_launch: True/False <optional, default True>'}
|
143
|
-
|
144
|
+
```
|
144
145
|
Block device mappings should be an array of Hashes with the format:
|
146
|
+
```
|
145
147
|
{
|
146
148
|
virtual_name: String,
|
147
149
|
device_name: String,
|
@@ -154,7 +156,7 @@ Block device mappings should be an array of Hashes with the format:
|
|
154
156
|
}
|
155
157
|
no_device: String
|
156
158
|
}
|
157
|
-
|
159
|
+
```
|
158
160
|
Using the bootstrap functionality
|
159
161
|
---------------------------------
|
160
162
|
|
data/lib/rivet/as/autoscale.rb
CHANGED
@@ -74,7 +74,12 @@ module Rivet
|
|
74
74
|
Rivet::Log.info"Displaying diff for launch configuration:"
|
75
75
|
@lc_diff.each do |d|
|
76
76
|
d.each do |current|
|
77
|
-
|
77
|
+
diff_text = if current.element.respond_to? :join
|
78
|
+
current.element.join
|
79
|
+
else
|
80
|
+
current.element
|
81
|
+
end
|
82
|
+
Rivet::Log.info " #{current.action} #{diff_text}"
|
78
83
|
end
|
79
84
|
end
|
80
85
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Rivet
|
4
4
|
module AwsUtils
|
5
5
|
|
6
|
-
def self.verify_security_groups(groups)
|
6
|
+
def self.verify_security_groups(groups,vpc=nil)
|
7
7
|
return false if groups.nil? || groups.all?{|g| g.match(/\Asg-[0-9a-f]{8}\z/) }
|
8
8
|
Rivet::Log.info "Verifying security groups: #{groups.join(",")}"
|
9
9
|
|
data/lib/rivet/version.rb
CHANGED
data/rivet.gemspec
CHANGED
@@ -11,8 +11,8 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.authors = ['Brian Bianco']
|
12
12
|
spec.email = ['brian.bianco@gmail.com']
|
13
13
|
spec.homepage = 'http://www.github.com/brianbianco/rivet'
|
14
|
-
spec.summary = %q{A tool for managing autoscaling groups}
|
15
|
-
spec.description = %q{
|
14
|
+
spec.summary = %q{A tool for managing autoscaling groups and launching ec2 servers}
|
15
|
+
spec.description = %q{A tool for defining EC2 and Autoscaling Groups as configuration}
|
16
16
|
|
17
17
|
spec.required_ruby_version = '>= 1.9.1'
|
18
18
|
spec.required_rubygems_version = '>= 1.3.6'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rivet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Bianco
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -80,8 +80,7 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.14.1
|
83
|
-
description:
|
84
|
-
as configuration and SYNC that to AWS
|
83
|
+
description: A tool for defining EC2 and Autoscaling Groups as configuration
|
85
84
|
email:
|
86
85
|
- brian.bianco@gmail.com
|
87
86
|
executables:
|
@@ -159,7 +158,7 @@ rubyforge_project:
|
|
159
158
|
rubygems_version: 2.4.2
|
160
159
|
signing_key:
|
161
160
|
specification_version: 4
|
162
|
-
summary: A tool for managing autoscaling groups
|
161
|
+
summary: A tool for managing autoscaling groups and launching ec2 servers
|
163
162
|
test_files:
|
164
163
|
- spec/as/autoscale_config_spec.rb
|
165
164
|
- spec/as/aws_autoscale_wrapper_spec.rb
|