knife-azure 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/azure/custom_errors.rb +1 -1
  3. data/lib/azure/resource_management/ARM_deployment_template.rb +5 -5
  4. data/lib/azure/resource_management/ARM_interface.rb +8 -12
  5. data/lib/azure/resource_management/windows_credentials.rb +7 -8
  6. data/lib/chef/knife/azurerm_server_create.rb +2 -2
  7. data/lib/chef/knife/azurerm_server_delete.rb +1 -1
  8. data/lib/chef/knife/bootstrap/bootstrapper.rb +10 -11
  9. data/lib/chef/knife/bootstrap_azurerm.rb +1 -1
  10. data/lib/chef/knife/helpers/azurerm_base.rb +17 -19
  11. data/lib/knife-azure/version.rb +1 -1
  12. metadata +30 -43
  13. data/lib/azure/service_management/ASM_interface.rb +0 -310
  14. data/lib/azure/service_management/ag.rb +0 -99
  15. data/lib/azure/service_management/certificate.rb +0 -235
  16. data/lib/azure/service_management/connection.rb +0 -102
  17. data/lib/azure/service_management/deploy.rb +0 -221
  18. data/lib/azure/service_management/disk.rb +0 -68
  19. data/lib/azure/service_management/host.rb +0 -184
  20. data/lib/azure/service_management/image.rb +0 -94
  21. data/lib/azure/service_management/loadbalancer.rb +0 -78
  22. data/lib/azure/service_management/rest.rb +0 -125
  23. data/lib/azure/service_management/role.rb +0 -717
  24. data/lib/azure/service_management/storageaccount.rb +0 -127
  25. data/lib/azure/service_management/utility.rb +0 -40
  26. data/lib/azure/service_management/vnet.rb +0 -134
  27. data/lib/chef/knife/azure_ag_create.rb +0 -73
  28. data/lib/chef/knife/azure_ag_list.rb +0 -35
  29. data/lib/chef/knife/azure_image_list.rb +0 -56
  30. data/lib/chef/knife/azure_internal-lb_create.rb +0 -74
  31. data/lib/chef/knife/azure_internal-lb_list.rb +0 -35
  32. data/lib/chef/knife/azure_server_create.rb +0 -531
  33. data/lib/chef/knife/azure_server_delete.rb +0 -136
  34. data/lib/chef/knife/azure_server_list.rb +0 -38
  35. data/lib/chef/knife/azure_server_show.rb +0 -41
  36. data/lib/chef/knife/azure_vnet_create.rb +0 -74
  37. data/lib/chef/knife/azure_vnet_list.rb +0 -35
  38. data/lib/chef/knife/bootstrap_azure.rb +0 -191
  39. data/lib/chef/knife/helpers/azure_base.rb +0 -394
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e88a7081dafbf64000602515bbcf0d7a94626b01b10b0eeceacfc9422af357a
4
- data.tar.gz: 1b5bcb5fa0b5d4b714786960a31dec0227341dffaa78912d659f815333c07f57
3
+ metadata.gz: ba6a2397f4641337ac1c0e35e060bdec8878111da9ca1d41d5207e15a0209b71
4
+ data.tar.gz: fb2691f81f0ba4c79d3dd86e7d04ff1ec92b85da1dfda35641b8b65d8b8f1025
5
5
  SHA512:
6
- metadata.gz: 1fc54ec3e79cc6334b5a2963474864be613e4b181ce5bab21a95773b0dea1de5a3ea3aab1dada8650df5c1f339e99973ac857d0d5e2870fc98cdbd164199744b
7
- data.tar.gz: 1580127f2c555cd0112b18acb703114a9c5ebf6fbfe596573a3411540dc9982d54edc668fc6fd0b4190fb6dbbf9e378f8a9426945538a909c5036c0555d7232a
6
+ metadata.gz: c9f8f4ba4b588eeca8037853e842cae06e7cb699fc758fbe83c3e0e7b6d05ae67319a65bb85e4a97fc34c28c5590dad65980856052883be1becf2bd4bbf7d9b9
7
+ data.tar.gz: c7f1e891b81df8dc594a349ddffb61b9fb0fb6d8cc90ff3d6a972b82b1e2a199fa2b8a89631f86cf41678d9ae5dd8949806d21a0c76365d1e57db6d7750f3d5c
@@ -29,6 +29,6 @@ module CustomErrors
29
29
  caller.first =~ /in \`(.+)\'/
30
30
  method_name = $1
31
31
  raise CustomErrors::InterfaceNotImplementedError.new("#{klass.class.name} needs to implement '#{method_name}' for interface #{name}!")
32
- end
32
+ end
33
33
  end
34
34
  end
@@ -51,7 +51,7 @@ module Azure::ARM
51
51
  # Security Rule priority can be set between 100 and 4096
52
52
  rule_no = 300
53
53
  incremental = 0
54
- for port in tcp_ports
54
+ tcp_ports.each do |port|
55
55
  rule_no += 2
56
56
  sec_grp_json["properties"]["securityRules"].push(
57
57
  "name" => vm_name + "_rule_" + incremental.to_s,
@@ -510,7 +510,7 @@ module Azure::ARM
510
510
  }
511
511
 
512
512
  length = template["resources"].length.to_i - 1
513
- for i in 0..length do
513
+ (0..length).each do |i|
514
514
  if template["resources"][i]["type"] == "Microsoft.Compute/virtualMachines"
515
515
  template["resources"][i]["dependsOn"] << "[concat('Microsoft.Compute/availabilitySets/', parameters('availabilitySetName'))]"
516
516
  template["resources"][i]["properties"]["availabilitySet"] = { "id" => "[resourceId('Microsoft.Compute/availabilitySets', parameters('availabilitySetName'))]" }
@@ -523,7 +523,7 @@ module Azure::ARM
523
523
  sec_grp_json = tcp_ports(params[:tcp_endpoints], params[:azure_vm_name])
524
524
  template["resources"].insert(1, sec_grp_json)
525
525
  length = template["resources"].length.to_i - 1
526
- for i in 0..length do
526
+ (0..length).each do |i|
527
527
  if template["resources"][i]["type"] == "Microsoft.Network/virtualNetworks"
528
528
  template["resources"][i] = template["resources"][i].merge({ "dependsOn" => [sec_grp] })
529
529
  end
@@ -558,7 +558,7 @@ module Azure::ARM
558
558
  end
559
559
  if params[:server_count].to_i > 1 && params[:chef_extension_private_param][:validation_key].nil?
560
560
  template["resources"].last["properties"]["protectedSettings"]["client_pem"] = "[parameters(concat('client_pem',copyIndex()))]"
561
- 0.upto (params[:server_count].to_i - 1) do |count|
561
+ 0.upto(params[:server_count].to_i - 1) do |count|
562
562
  template["parameters"]["client_pem" + count.to_s] = {
563
563
  "type" => "string",
564
564
  "metadata" => {
@@ -658,7 +658,7 @@ module Azure::ARM
658
658
  },
659
659
  }
660
660
  if params[:server_count].to_i > 1 && params[:chef_extension_private_param][:validation_key].nil?
661
- 0.upto (params[:server_count].to_i - 1) do |count|
661
+ 0.upto(params[:server_count].to_i - 1) do |count|
662
662
  parameters["client_pem#{count}"] = {
663
663
  "value" => "#{params[:chef_extension_private_param][("client_pem" + count.to_s).to_sym]}",
664
664
  }
@@ -307,7 +307,7 @@ module Azure
307
307
  ## chef-client run did not complete within maximum timeout of 30 minutes ##
308
308
  ## fetch whatever logs available under the chef-client.log file ##
309
309
  color = :yellow
310
- end
310
+ end
311
311
  puts ui.color(status, color, :bold).to_s
312
312
  puts "----> chef-client run logs: "
313
313
  puts "\n#{message}\n" ## message field of substatus contains the chef-client run logs ##
@@ -323,7 +323,7 @@ module Azure
323
323
  else
324
324
  ui.log("Creating ResourceGroup....\n\n")
325
325
  resource_group = create_resource_group(params)
326
- Chef::Log.info("ResourceGroup creation successfull.")
326
+ Chef::Log.info("ResourceGroup creation successful.")
327
327
  Chef::Log.info("Resource Group name is: #{resource_group.name}")
328
328
  Chef::Log.info("Resource Group ID is: #{resource_group.id}")
329
329
  end
@@ -355,7 +355,7 @@ module Azure
355
355
 
356
356
  ui.log("Creating Virtual Machine....")
357
357
  deployment = create_virtual_machine_using_template(params)
358
- ui.log("Virtual Machine creation successfull.") unless deployment.nil?
358
+ ui.log("Virtual Machine creation successful.") unless deployment.nil?
359
359
 
360
360
  unless deployment.nil?
361
361
  ui.log("Deployment name is: #{deployment.name}")
@@ -422,8 +422,7 @@ module Azure
422
422
  deploy_params = Deployment.new
423
423
  deploy_params.properties = deploy_prop
424
424
 
425
- deployment = resource_management_client.deployments.create_or_update(params[:azure_resource_group_name], "#{params[:azure_vm_name]}_deploy", deploy_params)
426
- deployment
425
+ resource_management_client.deployments.create_or_update(params[:azure_resource_group_name], "#{params[:azure_vm_name]}_deploy", deploy_params)
427
426
  end
428
427
 
429
428
  def create_vm_extension(params)
@@ -467,8 +466,7 @@ module Azure
467
466
  params[:chef_extension]
468
467
  ).last.name
469
468
  ext_version_split_values = ext_version.split(".")
470
- ext_version = ext_version_split_values[0] + "." + ext_version_split_values[1]
471
- ext_version
469
+ ext_version_split_values[0] + "." + ext_version_split_values[1]
472
470
  end
473
471
 
474
472
  def delete_resource_group(resource_group_name)
@@ -486,11 +484,9 @@ module Azure
486
484
  err_details = err_json["error"]["details"] if err_json["error"]
487
485
  if err_details
488
486
  err_details.each do |err|
489
- begin
490
- ui.error(JSON.parse(err["message"])["error"]["message"])
491
- rescue JSON::ParserError => e
492
- ui.error(err["message"])
493
- end
487
+ ui.error(JSON.parse(err["message"])["error"]["message"])
488
+ rescue JSON::ParserError => e
489
+ ui.error(err["message"])
494
490
  end
495
491
  else
496
492
  ui.error(err_json["error"]["message"])
@@ -19,8 +19,8 @@
19
19
  # XPLAT stores the access token and other information in windows credential manager.
20
20
  # Using FFI to call CredRead function
21
21
  require "chef"
22
- require "mixlib/shellout"
23
- require "ffi"
22
+ require "mixlib/shellout" unless defined?(Mixlib::ShellOut)
23
+ require "ffi" unless defined?(FFI)
24
24
  require "chef/win32/api"
25
25
 
26
26
  module Azure
@@ -66,7 +66,7 @@ module Azure
66
66
  :Attributes, CREDENTIAL_ATTRIBUTE,
67
67
  :TargetAlias, :LPTSTR,
68
68
  :UserName, :LPTSTR
69
- end
69
+ end
70
70
 
71
71
  # Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/aa374804(v=vs.85).aspx
72
72
  safe_attach_function :CredReadW, %i{LPCTSTR DWORD DWORD pointer}, :BOOL
@@ -123,8 +123,8 @@ module Azure
123
123
  def target_name
124
124
  # cmdkey command is used for accessing windows credential manager.
125
125
  # Multiple credentials get created in windows credential manager for a single Azure account in xplat-cli
126
- # One of them is for common tanent id, which can't be used
127
- # Others end with --0-x,--1-x,--2-x etc, where x represents the total no. of credentails across which the token is divided
126
+ # One of them is for common tenant id, which can't be used
127
+ # Others end with --0-x,--1-x,--2-x etc, where x represents the total no. of credentials across which the token is divided
128
128
  # The one ending with --0-x has the complete accessToken in the credentialBlob.
129
129
  # Refresh Token is split across both credentials (ending with --0-x and --1-x).
130
130
  # Xplat splits the credentials based on the number of bytes of the tokens.
@@ -150,8 +150,7 @@ module Azure
150
150
 
151
151
  # If "azure login" is run for multiple users, there will be multiple credentials
152
152
  # Picking up the latest logged in user's credentials
153
- latest_target = latest_credential_target target_names
154
- latest_target
153
+ latest_credential_target target_names
155
154
  end
156
155
 
157
156
  def latest_credential_target(targets)
@@ -179,5 +178,5 @@ module Azure
179
178
  end
180
179
  end
181
180
  end
182
- end
181
+ end
183
182
  end
@@ -31,7 +31,7 @@ class Chef
31
31
  include Knife::Bootstrap::Bootstrapper
32
32
 
33
33
  deps do
34
- require "securerandom"
34
+ require "securerandom" unless defined?(SecureRandom)
35
35
  include Knife::AzurermBase
36
36
  end
37
37
 
@@ -292,7 +292,7 @@ class Chef
292
292
  def set_os_image(publisher, img_offer, default_os_version)
293
293
  config[:azure_image_reference_publisher] = publisher
294
294
  config[:azure_image_reference_offer] = img_offer
295
- config[:azure_image_reference_sku] = config[:azure_image_reference_sku] ? config[:azure_image_reference_sku] : default_os_version
295
+ config[:azure_image_reference_sku] = config[:azure_image_reference_sku] || default_os_version
296
296
  end
297
297
 
298
298
  def is_image_os_type?
@@ -51,7 +51,7 @@ class Chef
51
51
  long: "--delete-resource-group",
52
52
  boolean: true,
53
53
  default: false,
54
- description: "Deletes corresponding resource group along with Vitual Machine."
54
+ description: "Deletes corresponding resource group along with Virtual Machine."
55
55
 
56
56
  # Extracted from Chef::Knife.delete_object, because it has a
57
57
  # confirmation step built in... By specifying the '--purge'
@@ -16,7 +16,11 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require_relative "../../../azure/resource_management/ARM_interface"
19
+ module Azure
20
+ class ResourceManagement
21
+ autoload :ARMInterface, "azure/resource_management/ARM_interface"
22
+ end
23
+ end
20
24
 
21
25
  class Chef
22
26
  class Knife
@@ -45,16 +49,11 @@ class Chef
45
49
  config[:azure_chef_extension_version]
46
50
  else
47
51
  chef_extension_name ||= get_chef_extension_name
48
- if @service.instance_of? Azure::ResourceManagement::ARMInterface
49
- service.get_latest_chef_extension_version(
50
- azure_service_location: config[:azure_service_location],
51
- chef_extension_publisher: get_chef_extension_publisher,
52
- chef_extension: chef_extension_name
53
- )
54
- elsif @service.instance_of? Azure::ServiceManagement::ASMInterface
55
- extensions = service.get_extension(chef_extension_name, get_chef_extension_publisher)
56
- extensions.css("Version").max.text.split(".").first + ".*"
57
- end
52
+ service.get_latest_chef_extension_version(
53
+ azure_service_location: config[:azure_service_location],
54
+ chef_extension_publisher: get_chef_extension_publisher,
55
+ chef_extension: chef_extension_name
56
+ )
58
57
  end
59
58
  end
60
59
 
@@ -29,7 +29,7 @@ class Chef
29
29
  include Knife::Bootstrap::Bootstrapper
30
30
 
31
31
  deps do
32
- require "time"
32
+ require "time" unless defined?(Time)
33
33
  include Knife::AzurermBase
34
34
  end
35
35
 
@@ -35,8 +35,8 @@ class Chef
35
35
  require "chef/json_compat"
36
36
  require_relative "../../../azure/resource_management/ARM_interface"
37
37
  require "chef/mixin/shell_out"
38
- require "time"
39
- require "json"
38
+ require "time" unless defined?(Time)
39
+ require "json" unless defined?(JSON)
40
40
 
41
41
  if Chef::Platform.windows?
42
42
  require_relative "../../azure/resource_management/windows_credentials"
@@ -76,7 +76,7 @@ class Chef
76
76
  errors = []
77
77
  keys.each do |k|
78
78
  if config[k].nil?
79
- errors << "You did not provide a valid '#{pretty_key(k)}' value. Please set knife[:#{k}] in your knife.rb."
79
+ errors << "You did not provide a valid '#{pretty_key(k)}' value. Please set knife[:#{k}] in your config.rb (knife.rb)."
80
80
  end
81
81
  end
82
82
  if errors.each { |e| ui.error(e) }.any?
@@ -93,13 +93,12 @@ class Chef
93
93
  token_details = token_details_for_linux
94
94
  end
95
95
 
96
- token_details = check_token_validity(token_details)
97
- token_details
96
+ check_token_validity(token_details)
98
97
  end
99
98
 
100
99
  def get_azure_cli_version
101
100
  if @azure_version != ""
102
- get_version = shell_out!("azure -v || az -v | grep azure-cli", { returns: [0] }).stdout
101
+ get_version = shell_out!("azure -v || az -v | grep azure-cli", returns: [0]).stdout
103
102
  @azure_version = get_version.gsub(/[^0-9.]/, "")
104
103
  end
105
104
  @azure_prefix = @azure_version.to_i < 2 ? "azure" : "az"
@@ -122,8 +121,7 @@ class Chef
122
121
  home_dir = File.expand_path("~")
123
122
  file = File.read(home_dir + "/.azure/accessTokens.json")
124
123
  file = JSON.parse(file)
125
- token_details = { tokentype: file[-1]["tokenType"], user: file[-1]["userId"], token: file[-1]["accessToken"], clientid: file[-1]["_clientId"], expiry_time: file[-1]["expiresOn"], refreshtoken: file[-1]["refreshToken"] }
126
- token_details
124
+ { tokentype: file[-1]["tokenType"], user: file[-1]["userId"], token: file[-1]["accessToken"], clientid: file[-1]["_clientId"], expiry_time: file[-1]["expiresOn"], refreshtoken: file[-1]["refreshToken"] }
127
125
  end
128
126
 
129
127
  def is_token_valid?(token_details)
@@ -174,10 +172,10 @@ class Chef
174
172
  end
175
173
 
176
174
  def parse_publish_settings_file(filename)
177
- require "nokogiri"
178
- require "base64"
179
- require "openssl"
180
- require "uri"
175
+ require "nokogiri" unless defined?(Nokogiri)
176
+ require "base64" unless defined?(Base64)
177
+ require "openssl" unless defined?(OpenSSL)
178
+ require "uri" unless defined?(URI)
181
179
  begin
182
180
  doc = Nokogiri::XML(File.open(find_file(filename)))
183
181
  profile = doc.at_css("PublishProfile")
@@ -219,7 +217,7 @@ class Chef
219
217
  def msg_server_summary(server)
220
218
  puts "\n\n"
221
219
  if server.provisioningstate == "Succeeded"
222
- Chef::Log.info("Server creation went successfull.")
220
+ Chef::Log.info("Server creation went successful.")
223
221
  puts "\nServer Details are:\n"
224
222
 
225
223
  msg_pair("Server ID", server.id)
@@ -240,7 +238,7 @@ class Chef
240
238
  puts "\n\n"
241
239
 
242
240
  if server.resources.provisioning_state == "Succeeded"
243
- Chef::Log.info("Server Extension creation went successfull.")
241
+ Chef::Log.info("Server Extension creation went successful.")
244
242
  puts "\nServer Extension Details are:\n"
245
243
 
246
244
  msg_pair("Server Extension ID", server.resources.id)
@@ -277,11 +275,11 @@ class Chef
277
275
  end
278
276
 
279
277
  if !is_image_windows?
280
- if (config[:azure_vm_name].match /^(?=.*[a-zA-Z-])([a-zA-z0-9-]{1,64})$/).nil?
281
- raise ArgumentError, "VM name can only contain alphanumeric and hyphen(-) characters and maximun length cannot exceed 64 charachters."
278
+ if (config[:azure_vm_name].match(/^(?=.*[a-zA-Z-])([a-zA-z0-9-]{1,64})$/)).nil?
279
+ raise ArgumentError, "VM name can only contain alphanumeric and hyphen(-) characters and maximum length cannot exceed 64 characters."
282
280
  end
283
- elsif (config[:azure_vm_name].match /^(?=.*[a-zA-Z-])([a-zA-z0-9-]{1,15})$/).nil?
284
- raise ArgumentError, "VM name can only contain alphanumeric and hyphen(-) characters and maximun length cannot exceed 15 charachters."
281
+ elsif (config[:azure_vm_name].match(/^(?=.*[a-zA-Z-])([a-zA-z0-9-]{1,15})$/)).nil?
282
+ raise ArgumentError, "VM name can only contain alphanumeric and hyphen(-) characters and maximum length cannot exceed 15 characters."
285
283
  end
286
284
 
287
285
  if config[:server_count].to_i > 5
@@ -351,7 +349,7 @@ class Chef
351
349
  ## in Windows Credentails Manager (WCM).
352
350
  ## Newer versions use the same pattern across platforms where credentials gets
353
351
  ## stored in ~/.azure/accessTokens.json file.
354
- "Please run XPLAT's '#{@azure_prefix} login' command OR specify azure_tenant_id, azure_subscription_id, azure_client_id, azure_client_secret in your knife.rb"
352
+ "Please run XPLAT's '#{@azure_prefix} login' command OR specify azure_tenant_id, azure_subscription_id, azure_client_id, azure_client_secret in your config.rb (knife.rb)."
355
353
  end
356
354
  end
357
355
  end
@@ -17,7 +17,7 @@
17
17
 
18
18
  module Knife
19
19
  module Azure
20
- VERSION = "3.0.0".freeze
20
+ VERSION = "4.0.0".freeze
21
21
  MAJOR, MINOR, TINY = VERSION.split(".")
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-azure
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barry Davis
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-09 00:00:00.000000000 Z
12
+ date: 2021-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: chef
15
+ name: knife
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 15.10.21
20
+ version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 15.10.21
27
+ version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: nokogiri
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -83,22 +83,22 @@ dependencies:
83
83
  name: azure_mgmt_storage
84
84
  requirement: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: 0.20.0
89
86
  - - "~>"
90
87
  - !ruby/object:Gem::Version
91
88
  version: '0.20'
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 0.20.0
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- version: 0.20.0
99
96
  - - "~>"
100
97
  - !ruby/object:Gem::Version
101
98
  version: '0.20'
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: 0.20.0
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: azure_mgmt_network
104
104
  requirement: !ruby/object:Gem::Requirement
@@ -161,7 +161,21 @@ dependencies:
161
161
  - - ">="
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
- description: A plugin to the Chef knife tool for creating instances on the Microsoft
164
+ - !ruby/object:Gem::Dependency
165
+ name: rb-readline
166
+ requirement: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ type: :runtime
172
+ prerelease: false
173
+ version_requirements: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ description: A plugin to the Chef Infra knife tool for creating instances on the Microsoft
165
179
  Azure platform
166
180
  email: oss@chef.io
167
181
  executables: []
@@ -177,40 +191,13 @@ files:
177
191
  - lib/azure/resource_management/ARM_interface.rb
178
192
  - lib/azure/resource_management/vnet_config.rb
179
193
  - lib/azure/resource_management/windows_credentials.rb
180
- - lib/azure/service_management/ASM_interface.rb
181
- - lib/azure/service_management/ag.rb
182
- - lib/azure/service_management/certificate.rb
183
- - lib/azure/service_management/connection.rb
184
- - lib/azure/service_management/deploy.rb
185
- - lib/azure/service_management/disk.rb
186
- - lib/azure/service_management/host.rb
187
- - lib/azure/service_management/image.rb
188
- - lib/azure/service_management/loadbalancer.rb
189
- - lib/azure/service_management/rest.rb
190
- - lib/azure/service_management/role.rb
191
- - lib/azure/service_management/storageaccount.rb
192
- - lib/azure/service_management/utility.rb
193
- - lib/azure/service_management/vnet.rb
194
- - lib/chef/knife/azure_ag_create.rb
195
- - lib/chef/knife/azure_ag_list.rb
196
- - lib/chef/knife/azure_image_list.rb
197
- - lib/chef/knife/azure_internal-lb_create.rb
198
- - lib/chef/knife/azure_internal-lb_list.rb
199
- - lib/chef/knife/azure_server_create.rb
200
- - lib/chef/knife/azure_server_delete.rb
201
- - lib/chef/knife/azure_server_list.rb
202
- - lib/chef/knife/azure_server_show.rb
203
- - lib/chef/knife/azure_vnet_create.rb
204
- - lib/chef/knife/azure_vnet_list.rb
205
194
  - lib/chef/knife/azurerm_server_create.rb
206
195
  - lib/chef/knife/azurerm_server_delete.rb
207
196
  - lib/chef/knife/azurerm_server_list.rb
208
197
  - lib/chef/knife/azurerm_server_show.rb
209
198
  - lib/chef/knife/bootstrap/bootstrapper.rb
210
199
  - lib/chef/knife/bootstrap/common_bootstrap_options.rb
211
- - lib/chef/knife/bootstrap_azure.rb
212
200
  - lib/chef/knife/bootstrap_azurerm.rb
213
- - lib/chef/knife/helpers/azure_base.rb
214
201
  - lib/chef/knife/helpers/azurerm_base.rb
215
202
  - lib/knife-azure/version.rb
216
203
  homepage: https://github.com/chef/knife-azure
@@ -225,16 +212,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
212
  requirements:
226
213
  - - ">="
227
214
  - !ruby/object:Gem::Version
228
- version: '2.6'
215
+ version: '2.7'
229
216
  required_rubygems_version: !ruby/object:Gem::Requirement
230
217
  requirements:
231
218
  - - ">="
232
219
  - !ruby/object:Gem::Version
233
220
  version: '0'
234
221
  requirements: []
235
- rubygems_version: 3.0.3
222
+ rubygems_version: 3.1.4
236
223
  signing_key:
237
224
  specification_version: 4
238
- summary: A plugin to the Chef knife tool for creating instances on the Microsoft Azure
239
- platform
225
+ summary: A plugin to the Chef Infra knife tool for creating instances on the Microsoft
226
+ Azure platform
240
227
  test_files: []