chef-metal-fog 0.5 → 0.5.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 +2 -2
- 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: e4ea9c6ac23831a0ea9f07511d18e154f131a69f
|
4
|
+
data.tar.gz: 445242bbb2c4291741ccac066de423a61c56533a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5118d0d757dbbaf5bd07f8920b6bb4d8e269d5c571a32591611329a0bbdf226bc775cd75df83987502431073947b5d922431950b7f45040655f279cdbfea68a7
|
7
|
+
data.tar.gz: a7462b748510bbd741320c72980d3e07541023b1182e1831562dfb023cd3d2c1e98804cd1a89d14cb0a6787a9b7100240707d9ff1f05fb1b41e0aa909a87e369
|
@@ -108,7 +108,7 @@ module ChefMetalFog
|
|
108
108
|
end
|
109
109
|
|
110
110
|
def self.canonicalize_url(driver_url, config)
|
111
|
-
|
111
|
+
_, provider, id = driver_url.split(':', 3)
|
112
112
|
config, id = compute_options_for(provider, id, config)
|
113
113
|
[ "fog:#{provider}:#{id}", config ]
|
114
114
|
end
|
@@ -599,7 +599,7 @@ module ChefMetalFog
|
|
599
599
|
# TODO it is supposed to be unnecessary to load credentials from fog this way;
|
600
600
|
# why are we doing it?
|
601
601
|
# TODO support http://docs.openstack.org/cli-reference/content/cli_openrc.html
|
602
|
-
credential = Fog.
|
602
|
+
credential = Fog.credentials
|
603
603
|
|
604
604
|
new_compute_options[:openstack_username] ||= credential[:openstack_username]
|
605
605
|
new_compute_options[:openstack_api_key] ||= credential[:openstack_api_key]
|