knife-vrealize 6.0.0 → 6.0.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
  SHA256:
3
- metadata.gz: 26774900025bacb20c92669ec354fa5eecf896a05e5dc0360639bc3c58b58998
4
- data.tar.gz: c374fd4befb4616243716ddd664a509f13c33d9a1254d1c0af3985103604c7dd
3
+ metadata.gz: 03cb6916378f57db2d333197682719f7612b4936d2ac61f26afcf9d6889c9867
4
+ data.tar.gz: 3733a59cad7f959fa75b6d3c12c2d0333c44658accf8af74cf276b17aa4fac11
5
5
  SHA512:
6
- metadata.gz: 29be7394fb628f6ff10f98e63b3d4a01ec3ab7bcdc8d23c35140dc754481051be09bd9668ce2f73ee169d9f380197c8114bf611e90e9e6fcb142ff0cbfaf2a94
7
- data.tar.gz: 48870906b9cc159ff4c95faac60f3a4a1e8657b9b1f82003e0441534eb1b2fda359fba59869b0502b6e67cbf3631e1674f51e3fa3be635dd25bd1a70a7a454ef
6
+ metadata.gz: d001888998aaa107fe2028bbc4c7f5cf85e4213d1403f902a2bb85d9a5d25c88dded194a2c4c63c61b019f4a1f134dd40b6bc8a484023b4bf0fe8fe347195fd6
7
+ data.tar.gz: 1927b52b33099ce37136ccc2dd35b994aed6b50e9f8d764cbd33951a0d0416f9e6797326f09820c459f31fe13f7f96d77f8459fee90d008f03071377770b9eca
@@ -22,20 +22,20 @@ require "chef/knife"
22
22
  require "chef/knife/cloud/server/create_command"
23
23
  require "chef/knife/cloud/server/create_options"
24
24
  require_relative "cloud/vra_service_options"
25
+ require_relative "cloud/vra_service_helpers"
25
26
 
26
27
  class Chef
27
28
  class Knife
28
29
  class Cloud
29
30
  class VraServerCreate < ServerCreateCommand
30
- include VraServiceHelpers
31
31
  include VraServiceOptions
32
32
  include ServerCreateOptions
33
+ include VraServiceHelpers
33
34
 
34
35
  banner "knife vra server create CATALOG_ID (options)"
35
36
 
36
37
  deps do
37
38
  require_relative "cloud/vra_service"
38
- require_relative "cloud/vra_service_helpers"
39
39
  end
40
40
 
41
41
  option :cpus,
@@ -115,7 +115,7 @@ class Chef
115
115
  def before_bootstrap
116
116
  super
117
117
 
118
- config[:chef_node_name] = config[:chef_node_name] ? config[:chef_node_name] : server.name
118
+ config[:chef_node_name] ||= server.name
119
119
  config[:bootstrap_ip_address] = hostname_for_server
120
120
  end
121
121
 
@@ -19,5 +19,5 @@
19
19
  #
20
20
 
21
21
  module KnifeVrealize
22
- VERSION = "6.0.0"
22
+ VERSION = "6.0.2"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-vrealize
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-07 00:00:00.000000000 Z
11
+ date: 2020-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: knife-cloud