chef-metal-fog 0.7 → 0.7.1

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: df1eb39ee54fce02bce795f16bcffb150a5a457b
4
- data.tar.gz: 1c33c93f06ec8858fbd1f84c82850d351065936e
3
+ metadata.gz: a55ddb8af472d71de01c6206ec99c8373a3472bb
4
+ data.tar.gz: 8dbd7d62d6a31fb4f2e4d03a3790ce8cb859c9ec
5
5
  SHA512:
6
- metadata.gz: f669a9e485c513128afc5498932311c944d82eb185ccaba96c4fd5479be8c85c1cbefa2fd28432c2a69cb6045fea2e10c7cc0924973ce99548287921726001f4
7
- data.tar.gz: 6660dc13199041cf38389da3820bff2b4572a0ba081b7531aff915e7cc464fea193c73662d75caf382a898b606011c45c07c38935ac70f567350c68717cf4406
6
+ metadata.gz: c3fd1d83614f27f4c452a3db315f4ddbd2e56771953af3fa0b05e5e9550643a9f27e0fa3ff0fe6c8cfa626922c37f43afde9a1b9d1be2f05d50d070f1c999b2e
7
+ data.tar.gz: 45c301339fca7a8296288daeb4c69797a1d5ae7a346496b429da0f74f6bfd7186861be99889aa330db218f907833943f98e0228ef000c9ac1a004cc8c8f6f496
@@ -290,7 +290,7 @@ module ChefMetalFog
290
290
  end
291
291
 
292
292
  # Create the servers in parallel
293
- parallelizer.parallel_do(by_bootstrap_options) do |bootstrap_options, machine_specs|
293
+ parallelizer.parallelize(by_bootstrap_options) do |bootstrap_options, machine_specs|
294
294
  machine_description = if machine_specs.size == 1
295
295
  "machine #{machine_specs.first.name}"
296
296
  else
@@ -322,12 +322,12 @@ module ChefMetalFog
322
322
 
323
323
  yield machine_spec, server if block_given?
324
324
  end
325
-
325
+
326
326
  if machine_specs.size > 0
327
327
  raise "Not all machines were created by create_many_machines!"
328
328
  end
329
329
  end
330
- end
330
+ end.to_a
331
331
  end
332
332
 
333
333
  def create_many_servers(num_servers, bootstrap_options, parallelizer)
@@ -237,9 +237,9 @@ module ChefMetalFog
237
237
  if compute.servers.respond_to?(:create_many)
238
238
  servers = compute.servers.create_many(num_servers, num_servers, bootstrap_options)
239
239
  if block_given?
240
- parallelizer.parallel_do(servers) do |server|
240
+ parallelizer.parallelize(servers) do |server|
241
241
  yield server
242
- end
242
+ end.to_a
243
243
  end
244
244
  servers
245
245
  else
@@ -1,3 +1,3 @@
1
1
  module ChefMetalFog
2
- VERSION = '0.7'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-metal-fog
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-08 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef