miasma-aws 0.1.18 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/miasma/contrib/aws.rb +5 -5
- data/lib/miasma-aws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a5b3fe06aa37c3bdc942bceffde1af07852cc74
|
4
|
+
data.tar.gz: 32e6a2752c4da9a2003da5bba5cf00e9c19ae83a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ad263d55d74bb5058fcd0ac9b89704605ceb4800976b5519b63b71d2f20bd90d55cfde05fa92ecaba303605a787cdad97f8c8935529555aebe0af6db6aef81c
|
7
|
+
data.tar.gz: b4fd118303c565890fff9015e9419fbd228c81f4e220f0bb24d39e2f2ade212d2dd0a3f6665827198f82648d2e7c21bd9f90c505408c85a59b18d25323f77350
|
data/CHANGELOG.md
CHANGED
data/lib/miasma/contrib/aws.rb
CHANGED
@@ -339,12 +339,12 @@ module Miasma
|
|
339
339
|
attribute :aws_config_file, String, :required => true, :default => File.join(Dir.home, '.aws/config')
|
340
340
|
attribute :aws_access_key_id, String, :required => true
|
341
341
|
attribute :aws_secret_access_key, String, :required => true
|
342
|
-
attribute :aws_iam_instance_profile, [TrueClass, FalseClass], :default =>
|
342
|
+
attribute :aws_iam_instance_profile, [TrueClass, FalseClass], :default => false
|
343
343
|
attribute :aws_region, String, :required => true
|
344
344
|
attribute :aws_host, String
|
345
345
|
attribute :aws_bucket_region, String
|
346
346
|
attribute :api_endpoint, String, :required => true, :default => 'amazonaws.com'
|
347
|
-
attribute :euca_compat, [String, Symbol], :allowed_values => [:path, :dns], :coerce => lambda{|v| v.to_sym}
|
347
|
+
attribute :euca_compat, [String, Symbol], :allowed_values => [:path, :dns], :coerce => lambda{|v| v.is_a?(String) ? v.to_sym : v}
|
348
348
|
attribute :euca_dns_map, Smash, :coerce => lambda{|v| v.to_smash}, :default => Smash.new
|
349
349
|
attribute :ssl_enabled, [TrueClass, FalseClass], :default => true
|
350
350
|
|
@@ -412,11 +412,11 @@ module Miasma
|
|
412
412
|
# @param creds [Hash]
|
413
413
|
# @return [TrueClass]
|
414
414
|
def load_instance_credentials!(creds)
|
415
|
-
role = HTTP.get(self.const_get(:INSTANCE_PROFILE_HOST)).body.to_s.strip
|
415
|
+
role = HTTP.get(self.class.const_get(:INSTANCE_PROFILE_HOST)).body.to_s.strip
|
416
416
|
data = HTTP.get(
|
417
417
|
[
|
418
|
-
self.const_get(:INSTANCE_PROFILE_HOST),
|
419
|
-
self.const_get(:INSTANCE_PROFILE_PATH),
|
418
|
+
self.class.const_get(:INSTANCE_PROFILE_HOST),
|
419
|
+
self.class.const_get(:INSTANCE_PROFILE_PATH),
|
420
420
|
role
|
421
421
|
].join('/')
|
422
422
|
).body
|
data/lib/miasma-aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miasma-aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: miasma
|