vagrant-opsworks 0.0.8 → 0.1.0

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
  SHA1:
3
- metadata.gz: 9dd57f8c18a8b61cfdaf3f751859221cde75816d
4
- data.tar.gz: edacca8d60558893cd1d72d1286e9a7b15e0103d
3
+ metadata.gz: 371400e1c9c609976754013662593ceb4d789f85
4
+ data.tar.gz: af11465e86ae9dd7214be2da1a45e1380fd6c020
5
5
  SHA512:
6
- metadata.gz: 53f7f35568d7abe63e824cd0a78cf5a9d41f33092aadd52b294de4c75fb9c8fe412acbe2d0101888f2902e4493ae711022fa696c7f6ae02cbfd77c4c5031fa9a
7
- data.tar.gz: aaacc79f7cb8a27d3d83d95e9a2ca89c0a7bc392f0e6e6bbec407e807b6ffc2777fae364dd47a81fe66eac1359815b326e3ca873a73150b2a40c34a97750f0d5
6
+ metadata.gz: 97fc5adfd0a0f8952c8aba978f1b95cb01a604abcd6621f0ec61ac1c962e1e36962d4a8dc9a645d9ab8a8456c3ff354824d2a5c9fb2f472c8adffaffc9a40c2d
7
+ data.tar.gz: 5d45e28c83d29ee9adc00c03cadd51dad7967b328e550328c05a7a962c0a04f5ea85e52ee95ff6398dc8a45b15f684d1422a7fbc6fe4fb6e57c56a9eaae9bc9b
@@ -43,6 +43,11 @@ module VagrantPlugins::OpsWorks::Loader
43
43
  env[:config].vm.define i['hostname'] do |node|
44
44
  VagrantPlugins::OpsWorks::Loader.select_vmbox(env[:config], i['os'])
45
45
 
46
+ hostname = i['hostname']
47
+ hostname << @opsworks.hostname_suffix
48
+
49
+ node.vm.hostname = hostname
50
+
46
51
  node.vm.provision :chef_solo do |chef|
47
52
  pkgs = []
48
53
  i['layer_ids'].each do |l|
@@ -53,7 +58,8 @@ module VagrantPlugins::OpsWorks::Loader
53
58
  end
54
59
 
55
60
  custom_json = env[:client].stack.custom_json.dup
56
- custom_json.merge!({
61
+ custom_json.deep_merge!(@opsworks.supplimental_json)
62
+ custom_json.deep_merge!({
57
63
  'opsworks' => {
58
64
  'activity' => 'setup',
59
65
  'agent_version' => @opsworks.agent_version,
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module OpsWorks
3
- VERSION = '0.0.8'
3
+ VERSION = '0.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-opsworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Buzonas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-19 00:00:00.000000000 Z
11
+ date: 2014-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk