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 +4 -4
- data/lib/vagrant-opsworks/loader/instances.rb +7 -1
- data/lib/vagrant-opsworks/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: 371400e1c9c609976754013662593ceb4d789f85
|
4
|
+
data.tar.gz: af11465e86ae9dd7214be2da1a45e1380fd6c020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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,
|
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
|
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-
|
11
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|