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 +4 -4
- data/lib/chef_metal_fog/fog_driver.rb +3 -3
- data/lib/chef_metal_fog/providers/aws.rb +2 -2
- data/lib/chef_metal_fog/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: a55ddb8af472d71de01c6206ec99c8373a3472bb
|
4
|
+
data.tar.gz: 8dbd7d62d6a31fb4f2e4d03a3790ce8cb859c9ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
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:
|
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-
|
11
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|