chef-provisioning-fog 0.19.0 → 0.19.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c011278b512a9a0f08c5794fd7ba8d38d251483
|
4
|
+
data.tar.gz: caeff18ebe4907a5b2f750538c5c2587079407c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20b0a9db9b60e1aece918d338dc3089ecac85464b470f209ae3654a077fd933a94e21c41c695323a0fba0835d9d518a00e363c234ad38a5c5cc2ca34dac20cdf
|
7
|
+
data.tar.gz: f3762b665ddcf1751212aae0024d7b5361d24d58098c0cf2d9f7778ad26cd20bbd01e3e6a699df94c4fe0712fb2ab4997706bc3eaa19190dc0378d82a44863c1
|
data/README.md
CHANGED
@@ -57,6 +57,25 @@ driver_options :compute_options => {
|
|
57
57
|
}
|
58
58
|
```
|
59
59
|
|
60
|
+
[fog](http://fog.io) 1.38.0 (Newest release) has an issue with DigitalOcean. If
|
61
|
+
you want to use DigitalOcean and `chef-provisioning-fog` you need to down grade
|
62
|
+
your fog gem.
|
63
|
+
|
64
|
+
```shell
|
65
|
+
$ gem install fog --version 1.37.0
|
66
|
+
Successfully installed fog-1.37.0
|
67
|
+
Parsing documentation for fog-1.37.0
|
68
|
+
$ gem uninstall fog
|
69
|
+
|
70
|
+
Select gem to uninstall:
|
71
|
+
1. fog-1.37.0
|
72
|
+
2. fog-1.38.0
|
73
|
+
3. All versions
|
74
|
+
> 2
|
75
|
+
Successfully uninstalled fog-1.38.0
|
76
|
+
$
|
77
|
+
```
|
78
|
+
|
60
79
|
For a full example see [examples/digitalocean/simple.rb](examples/digitalocean/simple.rb).
|
61
80
|
|
62
81
|
### Google Compute Engine
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'https://github.com/opscode/chef-provisioning-fog'
|
14
14
|
|
15
15
|
s.add_dependency 'chef-provisioning', '~> 1.0'
|
16
|
-
s.add_dependency 'fog', '>= 1.
|
16
|
+
s.add_dependency 'fog', '>= 1.37.0'
|
17
17
|
s.add_dependency 'google-api-client', "~> 0.8.0"
|
18
18
|
s.add_dependency 'fog-softlayer' , '~> 1.1.0'
|
19
19
|
s.add_dependency 'retryable'
|
@@ -48,12 +48,12 @@ module FogDriver
|
|
48
48
|
result = Cheffish::MergedConfig.new(new_config, config, new_defaults)
|
49
49
|
|
50
50
|
new_compute_options[:openstack_auth_url] = id if (id && id != '')
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
51
|
+
|
52
|
+
credential = Fog.credentials.find_all{ |k,v|
|
53
|
+
k.to_s.start_with?('openstack') }
|
54
|
+
credential.each { |k,v|
|
55
|
+
new_compute_options[k] ||= v
|
56
|
+
}
|
57
57
|
|
58
58
|
id = result[:driver_options][:compute_options][:openstack_auth_url]
|
59
59
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-provisioning-fog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2016-
|
15
|
+
date: 2016-08-02 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: chef-provisioning
|
@@ -34,14 +34,14 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.
|
37
|
+
version: 1.37.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 1.
|
44
|
+
version: 1.37.0
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: google-api-client
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|