idlc-sdk-deploy 1.0.14 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7c09fbfe1bbad55c136e3a6861ed2e705510ef0e7df7d28d87aa2248ff5ecc4
4
- data.tar.gz: 10c084ff29eac6495ce0af24607f16b10a5edeca12dd156ab8fbe56321399098
3
+ metadata.gz: 9167f127ffe0bd45026007231b9879f23fb59b5415459b04f6b8bb1ca7c0d266
4
+ data.tar.gz: 705f32ca26d0e3b67b0d5be994745f5484910aaa73f4c16d2475ceeb43491201
5
5
  SHA512:
6
- metadata.gz: b31d096b3dd0bd0b5ba6417ad020d5e142102fcfaa41ccc2081b375cc8858f7875298bf5f078fbfaa71fd38b542b53d3f28f6ac0bae921f400c91e1cd1a948ef
7
- data.tar.gz: 1ae1b19fd117c2e9a26f4f565f0d3c8d4ed51e4e16793511d9a565fc51e5a98262296202d48c94f5fd57200f489476d4fdefe4f3ba55bd7e2b370b14fb5242c2
6
+ metadata.gz: b7232a5f0fd814bc03d2048a881c0b24d1198b4311b22230356296b9a4e467c03941ba76b25e077e92366e33e04484dc9ca8afe4299614a682c84ac45b06bfe1
7
+ data.tar.gz: b7932f67da98cef1786b4e14e10bcfc10dded905a60673a604a913529172de35139b0798fd58c52cfadf5e9efa01c8803ef14f4c68dfc1ebd71457bccb558ecb
@@ -26,16 +26,13 @@ module Idlc
26
26
  # This method is meant to be run on an instance inside of a chef run to
27
27
  # provision instance and environment metadata.
28
28
 
29
- # `default` is a reserved var available in a Chef run
30
-
31
29
  ENV['AWS_REGION'] = 'us-east-1' if ENV['AWS_REGION'].nil?
32
- default['aws']['region'] = ENV['AWS_REGION']
33
30
 
34
31
  # Get the current instance id from the instance metadata.
35
32
  instance = get_instance
36
33
 
37
- default['environment_key'] = instance['tags']['environment_key']
38
- default['curr_node']['hostname'] = set_hostname(instance)
34
+ # add some data
35
+ metadata['hostname'] = set_hostname(instance)
39
36
 
40
37
  # return environment metadata
41
38
  get_env_metadata(instance['tags']['environment_key'])
@@ -1,5 +1,5 @@
1
1
  module Idlc
2
2
  module Deploy
3
- VERSION = '1.0.14'.freeze
3
+ VERSION = '1.0.15'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell