bosh-director 1.2840.0 → 1.2847.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: 81f6978909857643dde8fee1143d9faedb4d9610
4
- data.tar.gz: d225e4ea61f04cc5020491400dbbfea791f53c06
3
+ metadata.gz: c1a7e3fb908b7bf0f3636e71c74e48a297b911a4
4
+ data.tar.gz: a73af7de9a6881166a17bfcd20df8d979e52a71c
5
5
  SHA512:
6
- metadata.gz: 89252466e8be9c38c58dc4a9d9d199b1ee5668743fbc24363d78e52b1119a361a60f2c09b162de5e51bd0eaa1e1efebe8ed7de3d40370a1de54d9ca37bf16a33
7
- data.tar.gz: 5199cc3d235f17169f18854acbb0bcd13b2f62aa48a553c8ed8f2ab44d399aef598b9fa662e3768ecf03d65940bd330f329934718342437bfeeb987f35c644ed
6
+ metadata.gz: 6e7e0817d2464dea69d69a3dfe6f5c058e76f793886112a3b57fb0d44f8fccc4d08aa8ef3e38d21cb171bb8f4f7f4b83a9a282826ae0436f9789db0800d62637
7
+ data.tar.gz: c77184d889e22d63620b36276296aad392e7e8ec78765da37d5bbbe2ac56a944682e5ca0f59b0cd8a296747aa30ca67e8e95c71a659210d102b90055ef38ae50
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Director
3
- VERSION = '1.2840.0'
3
+ VERSION = '1.2847.0'
4
4
  end
5
5
  end
data/lib/cloud/dummy.rb CHANGED
@@ -229,8 +229,25 @@ module Bosh
229
229
  end
230
230
 
231
231
  def agent_cmd(agent_id)
232
+ agent_config_file = File.join(agent_base_dir(agent_id), 'agent.json')
233
+
234
+ agent_config = {
235
+ 'Infrastructure' => {
236
+ 'Settings' => {
237
+ 'Sources' => [{
238
+ 'Type' => 'File',
239
+ 'SettingsPath' => agent_settings_file(agent_id)
240
+ }],
241
+ 'UseRegistry' => true
242
+ }
243
+ }
244
+ }
245
+
246
+ File.write(agent_config_file, JSON.generate(agent_config))
247
+
232
248
  go_agent_exe = File.expand_path('../../../../go/src/github.com/cloudfoundry/bosh-agent/out/bosh-agent', __FILE__)
233
- %W[#{go_agent_exe} -b #{agent_base_dir(agent_id)} -I dummy -P dummy -M dummy-nats]
249
+
250
+ %W[#{go_agent_exe} -b #{agent_base_dir(agent_id)} -P dummy -M dummy-nats -C #{agent_config_file}]
234
251
  end
235
252
 
236
253
  def read_agent_settings(agent_id)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-director
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2840.0
4
+ version: 1.2847.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-11 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt-ruby
@@ -30,126 +30,126 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2840.0
33
+ version: 1.2847.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2840.0
40
+ version: 1.2847.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bosh-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.2840.0
47
+ version: 1.2847.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.2840.0
54
+ version: 1.2847.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bosh-director-core
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.2840.0
61
+ version: 1.2847.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.2840.0
68
+ version: 1.2847.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bosh_common
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.2840.0
75
+ version: 1.2847.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.2840.0
82
+ version: 1.2847.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bosh-template
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.2840.0
89
+ version: 1.2847.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.2840.0
96
+ version: 1.2847.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bosh_cpi
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.2840.0
103
+ version: 1.2847.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.2840.0
110
+ version: 1.2847.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: bosh_openstack_cpi
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.2840.0
117
+ version: 1.2847.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.2840.0
124
+ version: 1.2847.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bosh_aws_cpi
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.2840.0
131
+ version: 1.2847.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.2840.0
138
+ version: 1.2847.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bosh_vsphere_cpi
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.2840.0
145
+ version: 1.2847.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.2840.0
152
+ version: 1.2847.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: bosh_vcloud_cpi
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -446,7 +446,7 @@ dependencies:
446
446
  version: '0'
447
447
  description: |-
448
448
  BOSH Director
449
- e0ed0c
449
+ 139553
450
450
  email: support@cloudfoundry.com
451
451
  executables:
452
452
  - bosh-director