bosh_cli_plugin_micro 1.3215.4.0 → 1.3232.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: 07df6f55198c19135d67e8c90be50bb1aa8fbf09
4
- data.tar.gz: 183ee532d5d1c12d8b53bd5c3989a04279f07112
3
+ metadata.gz: fcc4e38604925a7cc7a51ae013a93bd248616122
4
+ data.tar.gz: 1ad720e6c6e2efc15ef2e5b6a9539310e30fd6c2
5
5
  SHA512:
6
- metadata.gz: a5348c1a6d7ea8378b40bd78f6582776b3231e8051cb4b14345b77e8d9ab8d890efdb227b3970602d040aa8df6b242be065ba93d689c9e58c0d27edcb19c8fec
7
- data.tar.gz: dd514b801f29e76d5bd25a58a36f0f99173dbab1480ca63b8d8d2c60d0070b4dca845c4c8fffbed67236eba686f8950d21560422018641c5f4d653bca2b6fe85
6
+ metadata.gz: befa159b947fb33666b741bea0cc92053b7942d43b30433dd0dd8bfd0ec10ed62d8bcc1351df3bc431cd03be4b0ae1ee18d6d700ccdccf62b088c4353d0e9483
7
+ data.tar.gz: 87d11ee087a6bb52d51fc6801cf6d6cb010d88d63f97a9c755c9e98615b7ac714e035bef669ec36fd276b3b36e37556a2a0d7eaf79c04b3ee3a4df63e12265bd
@@ -62,7 +62,7 @@ module Bosh::Cli::Command
62
62
 
63
63
  if old_director_ip != ip
64
64
  set_target(ip)
65
- say "#{'WARNING!'.make_red} Your target has been changed to `#{target.make_red}'!"
65
+ say "#{'WARNING!'.make_red} Your target has been changed to '#{target.make_red}'!"
66
66
  end
67
67
 
68
68
  say "Deployment set to '#{manifest_filename.make_green}'"
@@ -125,7 +125,7 @@ module Bosh::Cli::Command
125
125
 
126
126
  rel_path = strip_relative_path(deployment)
127
127
 
128
- desc = "`#{rel_path.make_green}' to `#{target_name.make_green}'"
128
+ desc = "'#{rel_path.make_green}' to '#{target_name.make_green}'"
129
129
 
130
130
  if deployer.exists?
131
131
  if !options[:update_if_exists] && !update
@@ -198,7 +198,7 @@ module Bosh::Cli::Command
198
198
  name = deployer.state.name
199
199
 
200
200
  say(
201
- "\nYou are going to delete micro BOSH deployment `#{name}'.\n\n" +
201
+ "\nYou are going to delete micro BOSH deployment '#{name}'.\n\n" +
202
202
  "THIS IS A VERY DESTRUCTIVE OPERATION AND IT CANNOT BE UNDONE!\n".make_red
203
203
  )
204
204
 
@@ -309,7 +309,7 @@ AGENT_HELP
309
309
  manifest_filename ||= deployment
310
310
 
311
311
  unless File.exists?(manifest_filename)
312
- err("Cannot find deployment manifest in `#{manifest_filename}'")
312
+ err("Cannot find deployment manifest in '#{manifest_filename}'")
313
313
  end
314
314
 
315
315
  manifest = load_yaml_file(manifest_filename)
@@ -25,7 +25,7 @@ module Bosh::Deployer
25
25
  end
26
26
 
27
27
  def load_deployment(name)
28
- models_instance.insert_multiple(deployments['instances'])
28
+ models_instance.multi_insert(deployments['instances'])
29
29
 
30
30
  @state = models_instance.find(name: name)
31
31
  if state.nil?
@@ -163,7 +163,7 @@ module Bosh::Deployer
163
163
  renderer.enter_stage('Delete micro BOSH', 7)
164
164
  agent_stop
165
165
  if state.disk_cid
166
- step "Deleting persistent disk `#{state.disk_cid}'" do
166
+ step "Deleting persistent disk '#{state.disk_cid}'" do
167
167
  delete_disk(state.disk_cid, state.vm_cid)
168
168
  state.disk_cid = nil
169
169
  save_state
@@ -21,7 +21,7 @@ module Bosh::Deployer
21
21
  Sequel.connect(connection_settings) do |db|
22
22
  migrate(db)
23
23
  instances = state.deployments['registry_instances']
24
- db[:registry_instances].insert_multiple(instances) if instances
24
+ db[:registry_instances].multi_insert(instances) if instances
25
25
  end
26
26
 
27
27
  unless has_bosh_registry?
@@ -77,7 +77,7 @@ module Bosh::Deployer
77
77
  Kernel.sleep 0.5
78
78
  _, status = Process.waitpid2(@registry_pid, Process::WNOHANG)
79
79
  if status
80
- err "`#{cmd}` failed, exit status=#{status.exitstatus}"
80
+ err "'#{cmd}' failed, exit status=#{status.exitstatus}"
81
81
  end
82
82
  end
83
83
  end
@@ -40,9 +40,7 @@ module Bosh::Deployer
40
40
  update_service_address(service, agent_services_ip)
41
41
  end
42
42
 
43
- %w{director redis}.each do |service|
44
- update_service_address(service, internal_services_ip)
45
- end
43
+ update_service_address('director', internal_services_ip)
46
44
 
47
45
  update_properties
48
46
 
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Deployer
3
- VERSION = '1.3215.4.0'
3
+ VERSION = '1.3232.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_cli_plugin_micro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3215.4.0
4
+ version: 1.3232.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-14 00:00:00.000000000 Z
11
+ date: 2016-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sqlite3
@@ -44,126 +44,126 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.3215.4.0
47
+ version: 1.3232.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.3215.4.0
54
+ version: 1.3232.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bosh_cpi
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.3215.4.0
61
+ version: 1.3232.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.3215.4.0
68
+ version: 1.3232.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bosh-registry
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.3215.4.0
75
+ version: 1.3232.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.3215.4.0
82
+ version: 1.3232.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: agent_client
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.3215.4.0
89
+ version: 1.3232.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.3215.4.0
96
+ version: 1.3232.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: blobstore_client
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.3215.4.0
103
+ version: 1.3232.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.3215.4.0
110
+ version: 1.3232.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: bosh_cli
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.3215.4.0
117
+ version: 1.3232.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.3215.4.0
124
+ version: 1.3232.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bosh-core
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.3215.4.0
131
+ version: 1.3232.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.3215.4.0
138
+ version: 1.3232.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bosh-director-core
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.3215.4.0
145
+ version: 1.3232.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.3215.4.0
152
+ version: 1.3232.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: bosh-stemcell
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.3215.4.0
159
+ version: 1.3232.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.3215.4.0
166
+ version: 1.3232.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: bosh_aws_cpi
169
169
  requirement: !ruby/object:Gem::Requirement