chef-provisioning-fog 0.24.1 → 0.25.0

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: 424b731a9af36f9b069dd5e923b6170d7d2cd31e
4
- data.tar.gz: b625e977d063e9fa156e0b93974213ce93bff5cf
3
+ metadata.gz: 2663767efd2c570dc41173c4e2d85baa3126d9b4
4
+ data.tar.gz: 11b38f7b70628492999fdc1335c48b5ae98d8a22
5
5
  SHA512:
6
- metadata.gz: 069ef0460e9b34e7ca6e66b807c185bf60805ae1b6898aa69c3ba835803465dfdb2ed5f36a90516c651b7b11ea0ca562a9a7d6587c688760b78c4f2272e55993
7
- data.tar.gz: d72c10fe5d445a2c3faf47dbe63dfec3253f86ddbbea0d550fec9a2a24542d93311c75de26a06c304e34270ed7e018499bc7b50e4183de5e9809bbf5a7130198
6
+ metadata.gz: b213026a8db7200209b2c204267e0edf76e4c495157ec6a70fe7b48dc438691734d15b972a91348ee8cf477df392ac431f49e35865b6c33022bf334eda7a887a
7
+ data.tar.gz: 9f5df5ed6329feaeca53cd09a28c4edbb4b2cc5ce4e36d4763784292a5bb3adde1882a36ca77f4f34686801c28b662f206ea3f587dad078f4ea8f2dcd4072594
@@ -63,8 +63,10 @@ class Chef
63
63
  # options are passed directly to SoftLayer API and
64
64
  # SoftLayer_Hardware_Server rejects requests with unrecognized
65
65
  # options
66
+ opts.delete(:vlan) if opts[:vlan] && opts[:private_network_only]
67
+
66
68
  opts.keep_if do |opt, val|
67
- ::Fog::Compute::Softlayer::Server.attributes.include?(opt)
69
+ ::Fog::Compute::Softlayer::Server.attributes.include?(opt) || opt =~ /private_vlan|vlan/
68
70
  end
69
71
  # fog-softlayer defines :tags but SoftLayer_Hardware_Server rejects it...
70
72
  #opts.delete :tags
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module FogDriver
4
- VERSION = '0.24.1'
4
+ VERSION = '0.25.0'
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.24.1
4
+ version: 0.25.0
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: 2017-08-21 00:00:00.000000000 Z
15
+ date: 2017-08-24 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: chef-provisioning