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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 186365b0d48dc0700aa0eeb61a8ba86b34bc6418
4
- data.tar.gz: 7015f7fe0f47679b020121e08a369118b4ef5c07
3
+ metadata.gz: c0f04d9e84e98a61223a1c7d3ca73ce88e30ea8c
4
+ data.tar.gz: 8162cf3cd916235087929a116d7d67a19d15b9e3
5
5
  SHA512:
6
- metadata.gz: 13dd8914be2aea5f2e94696aa7f184f6497e36bd948e303248e967310123a6371915529b1e489255aec82ac2fd5d2e3acc83f5536b97694ab7b126a5c6b44d51
7
- data.tar.gz: 71bcb4ed46927ede1bfc274b00e042fb4b721503aa8000777c6e1910a2a8ca94ff3d56dff4629e3e28b390b23b68d58207c65fa3d95e1960d7eef69b02276fd4
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.to_i - parse_time(machine_spec.reference['started_at']))
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.to_i - parse_time(machine_spec.reference['allocated_at']))
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
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module FogDriver
4
- VERSION = '0.15.1'
4
+ VERSION = '0.15.2'
5
5
  end
6
6
  end
7
7
  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.1
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-21 00:00:00.000000000 Z
14
+ date: 2015-10-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: chef-provisioning