chef-metal-fog 0.5.beta.4 → 0.5.beta.5
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 +2 -3
- data/lib/chef_metal_fog/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d322a0449ade9efef2687f008518e7ac83d1e7d
|
4
|
+
data.tar.gz: 7bd6f1bb30ac76cd48fda57143345225db5de2ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7de8f96cd3532800eb4b8f75624c689586d6c9dbbfceef3ba7491974d70fb854478ff3849e4a76fe8323d9700152ec6674e17eefe49a265684baf06cc0667d48
|
7
|
+
data.tar.gz: df850e30c2f46a531d3b735c5aecdc8b9a3b2ce79245d321544dc0e290cbb9f551fc5a9603367669fd5f8f2d764f4b1c1253810ab1e07fde1424e95930a34640
|
@@ -466,7 +466,7 @@ module ChefMetalFog
|
|
466
466
|
if machine_spec.location['is_windows']
|
467
467
|
ChefMetal::Machine::WindowsMachine.new(machine_spec, transport_for(machine_spec, machine_options, server), convergence_strategy_for(machine_spec, machine_options))
|
468
468
|
else
|
469
|
-
ChefMetal::Machine::UnixMachine.new(machine_spec, transport_for(machine_spec,
|
469
|
+
ChefMetal::Machine::UnixMachine.new(machine_spec, transport_for(machine_spec, machine_options, server), convergence_strategy_for(machine_spec, machine_options))
|
470
470
|
end
|
471
471
|
end
|
472
472
|
|
@@ -546,6 +546,7 @@ module ChefMetalFog
|
|
546
546
|
new_compute_options = {}
|
547
547
|
new_compute_options[:provider] = provider
|
548
548
|
new_config = { :driver_options => { :compute_options => new_compute_options }}
|
549
|
+
config = Cheffish::MergedConfig.new(new_config, config)
|
549
550
|
|
550
551
|
# Get data from the identifier in the URL
|
551
552
|
if id && id != ''
|
@@ -610,8 +611,6 @@ module ChefMetalFog
|
|
610
611
|
new_compute_options[:rackspace_compute_url] ||= credential[:rackspace_compute_url]
|
611
612
|
end
|
612
613
|
|
613
|
-
config = Cheffish::MergedConfig.new(new_config, config)
|
614
|
-
|
615
614
|
id = case provider
|
616
615
|
when 'AWS'
|
617
616
|
account_info = FogDriverAWS.aws_account_info_for(config[:driver_options][:compute_options])
|