chef-provisioning-fog 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/chef/provisioning/fog_driver/driver.rb +2 -2
- data/lib/chef/provisioning/fog_driver/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: c0f04d9e84e98a61223a1c7d3ca73ce88e30ea8c
|
4
|
+
data.tar.gz: 8162cf3cd916235087929a116d7d67a19d15b9e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39818a3bfaf7b9a1243f7d7833f67fef77f3528f692e547071384707e8d69c2f4f4bf698894c35257242c90fef27c82dfa4e60b430170ad95630458d8ae647fb
|
7
|
+
data.tar.gz: 6fac99aec8927497c960c09a7dbd835dbd269827eeb0232cdb622d7fda019ddbf95e4cf768b2cd793c07a3819bff02952d8e7d74875a3cec9795f37ecac72b17
|
data/README.md
CHANGED
@@ -58,9 +58,9 @@ with_machine_options({
|
|
58
58
|
:flavor_ref => 3,
|
59
59
|
:image_ref => 'my-fake-ubuntu-image-0c1f2c38432b',
|
60
60
|
:nics => [{ :net_id => 'my-tenantnetwork-id-89afddb9db6c'}],
|
61
|
-
:key_name => 'mykeyname'
|
61
|
+
:key_name => 'mykeyname',
|
62
|
+
:floating_ip_pool => 'ext-net'
|
62
63
|
},
|
63
|
-
:floating_ip_pool => 'ext-net',
|
64
64
|
:ssh_username => 'ubuntu'
|
65
65
|
})
|
66
66
|
|
@@ -82,9 +82,9 @@ machine 'qa-webserver' do
|
|
82
82
|
:flavor_ref => 3,
|
83
83
|
:nics => [{ :net_id => 'my-tenantnetwork-id-89afddb9db6c'}],
|
84
84
|
:key_name => 'jdizzle',
|
85
|
-
:image_ref => 'my-centos-image-2b0b6bb7b0c12b0b6bb7b0c1'
|
85
|
+
:image_ref => 'my-centos-image-2b0b6bb7b0c12b0b6bb7b0c1',
|
86
|
+
:floating_ip_pool => 'ext-net'
|
86
87
|
},
|
87
|
-
:floating_ip_pool => 'ext-net',
|
88
88
|
:ssh_username => 'centos'
|
89
89
|
})
|
90
90
|
role 'webserver'
|
@@ -396,9 +396,9 @@ module FogDriver
|
|
396
396
|
|
397
397
|
def remaining_wait_time(machine_spec, machine_options)
|
398
398
|
if machine_spec.reference['started_at']
|
399
|
-
timeout = option_for(machine_options, :start_timeout) - (Time.now.
|
399
|
+
timeout = option_for(machine_options, :start_timeout) - (Time.now.utc - parse_time(machine_spec.reference['started_at']))
|
400
400
|
else
|
401
|
-
timeout = option_for(machine_options, :create_timeout) - (Time.now.
|
401
|
+
timeout = option_for(machine_options, :create_timeout) - (Time.now.utc - parse_time(machine_spec.reference['allocated_at']))
|
402
402
|
end
|
403
403
|
timeout > 0 ? timeout : 0.01
|
404
404
|
end
|
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.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-10-
|
14
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: chef-provisioning
|