knife-azure 1.8.7 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azure/azure_interface.rb +79 -81
- data/lib/azure/custom_errors.rb +34 -35
- data/lib/azure/helpers.rb +43 -44
- data/lib/azure/resource_management/ARM_deployment_template.rb +679 -678
- data/lib/azure/resource_management/ARM_interface.rb +513 -515
- data/lib/azure/resource_management/vnet_config.rb +43 -43
- data/lib/azure/resource_management/windows_credentials.rb +181 -184
- data/lib/azure/service_management/ASM_interface.rb +309 -317
- data/lib/azure/service_management/ag.rb +16 -16
- data/lib/azure/service_management/certificate.rb +30 -31
- data/lib/azure/service_management/connection.rb +31 -31
- data/lib/azure/service_management/deploy.rb +40 -38
- data/lib/azure/service_management/disk.rb +14 -10
- data/lib/azure/service_management/host.rb +28 -24
- data/lib/azure/service_management/image.rb +23 -22
- data/lib/azure/service_management/loadbalancer.rb +12 -12
- data/lib/azure/service_management/rest.rb +20 -19
- data/lib/azure/service_management/role.rb +274 -273
- data/lib/azure/service_management/storageaccount.rb +29 -25
- data/lib/azure/service_management/utility.rb +6 -7
- data/lib/azure/service_management/vnet.rb +44 -44
- data/lib/chef/knife/azure_ag_create.rb +18 -18
- data/lib/chef/knife/azure_ag_list.rb +3 -3
- data/lib/chef/knife/azure_base.rb +56 -56
- data/lib/chef/knife/azure_image_list.rb +8 -10
- data/lib/chef/knife/azure_internal-lb_create.rb +15 -15
- data/lib/chef/knife/azure_internal-lb_list.rb +3 -3
- data/lib/chef/knife/azure_server_create.rb +49 -50
- data/lib/chef/knife/azure_server_delete.rb +22 -24
- data/lib/chef/knife/azure_server_list.rb +4 -4
- data/lib/chef/knife/azure_server_show.rb +5 -5
- data/lib/chef/knife/azure_vnet_create.rb +17 -17
- data/lib/chef/knife/azure_vnet_list.rb +3 -3
- data/lib/chef/knife/azurerm_base.rb +58 -60
- data/lib/chef/knife/azurerm_server_create.rb +23 -22
- data/lib/chef/knife/azurerm_server_delete.rb +30 -34
- data/lib/chef/knife/azurerm_server_list.rb +42 -42
- data/lib/chef/knife/azurerm_server_show.rb +1 -1
- data/lib/chef/knife/bootstrap/bootstrap_options.rb +7 -8
- data/lib/chef/knife/bootstrap/bootstrapper.rb +65 -65
- data/lib/chef/knife/bootstrap/common_bootstrap_options.rb +3 -4
- data/lib/chef/knife/bootstrap_azure.rb +13 -13
- data/lib/chef/knife/bootstrap_azurerm.rb +106 -106
- data/lib/knife-azure/version.rb +2 -2
- metadata +43 -76
- data/lib/azure/resource_management/ARM_base.rb +0 -29
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# Author:: Aliasgar Batterywala (aliasgar.batterywala@clogeny.com)
|
3
3
|
#
|
4
|
-
# Copyright:: Copyright
|
4
|
+
# Copyright:: Copyright 2016-2018 Chef Software, Inc.
|
5
5
|
# License:: Apache License, Version 2.0
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -29,7 +29,7 @@ class Chef
|
|
29
29
|
includer.class_eval do
|
30
30
|
|
31
31
|
deps do
|
32
|
-
require
|
32
|
+
require "chef/knife/bootstrap"
|
33
33
|
Chef::Knife::Bootstrap.load_deps
|
34
34
|
end
|
35
35
|
|
@@ -69,7 +69,7 @@ class Chef
|
|
69
69
|
:long => "--node-ssl-verify-mode [peer|none]",
|
70
70
|
:description => "Whether or not to verify the SSL cert for all HTTPS requests.",
|
71
71
|
:proc => Proc.new { |v|
|
72
|
-
valid_values =
|
72
|
+
valid_values = %w{none peer}
|
73
73
|
unless valid_values.include?(v)
|
74
74
|
raise "Invalid value '#{v}' for --node-ssl-verify-mode. Valid values are: #{valid_values.join(", ")}"
|
75
75
|
end
|
@@ -117,4 +117,3 @@ class Chef
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
end
|
120
|
-
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# Author:: Aliasgar Batterywala (aliasgar.batterywala@clogeny.com)
|
3
|
-
# Copyright:: Copyright
|
3
|
+
# Copyright:: Copyright 2016-2018 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -16,9 +16,9 @@
|
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
18
|
|
19
|
-
require
|
20
|
-
require
|
21
|
-
require
|
19
|
+
require "chef/knife/azure_base"
|
20
|
+
require "chef/knife/bootstrap/common_bootstrap_options"
|
21
|
+
require "chef/knife/bootstrap/bootstrapper"
|
22
22
|
|
23
23
|
class Chef
|
24
24
|
class Knife
|
@@ -49,8 +49,8 @@ class Chef
|
|
49
49
|
fetch_chef_client_logs(Time.now, 35)
|
50
50
|
end
|
51
51
|
else
|
52
|
-
raise ArgumentError,
|
53
|
-
raise ArgumentError,
|
52
|
+
raise ArgumentError, "Please specify the SERVER name which needs to be bootstrapped via the Chef Extension." if @name_args.length == 0
|
53
|
+
raise ArgumentError, "Please specify only one SERVER name which needs to be bootstrapped via the Chef Extension." if @name_args.length > 1
|
54
54
|
end
|
55
55
|
rescue => error
|
56
56
|
ui.error("#{error.message}")
|
@@ -85,11 +85,11 @@ class Chef
|
|
85
85
|
ui.info "Setting the Chef Extension parameters."
|
86
86
|
ext_params = Hash.new
|
87
87
|
case server.os_type.downcase
|
88
|
-
when
|
89
|
-
ext_params[:chef_extension] =
|
90
|
-
when
|
91
|
-
if
|
92
|
-
ext_params[:chef_extension] =
|
88
|
+
when "windows"
|
89
|
+
ext_params[:chef_extension] = "ChefClient"
|
90
|
+
when "linux"
|
91
|
+
if %w{ubuntu debian rhel centos}.any? { |platform| server.os_version.downcase.include? platform }
|
92
|
+
ext_params[:chef_extension] = "LinuxChefClient"
|
93
93
|
else
|
94
94
|
raise "OS version #{server.os_version} for OS type #{server.os_type} is not supported."
|
95
95
|
end
|
@@ -121,8 +121,8 @@ class Chef
|
|
121
121
|
my_role = nil
|
122
122
|
sleep_and_wait = false
|
123
123
|
deployment = fetch_deployment
|
124
|
-
if deployment.at_css(
|
125
|
-
role_list_xml =
|
124
|
+
if deployment.at_css("Deployment Name") != nil
|
125
|
+
role_list_xml = deployment.css("RoleInstanceList RoleInstance")
|
126
126
|
## list of roles found under the deployment ##
|
127
127
|
role_list_xml.each do |role|
|
128
128
|
## search in the roles list for the given role ##
|
@@ -1,106 +1,106 @@
|
|
1
|
-
#
|
2
|
-
# Author:: Nimisha Sharad (nimisha.sharad@clogeny.com)
|
3
|
-
#
|
4
|
-
# Copyright:: Copyright
|
5
|
-
# License:: Apache License, Version 2.0
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
|
20
|
-
require
|
21
|
-
require
|
22
|
-
require
|
23
|
-
require
|
24
|
-
require
|
25
|
-
|
26
|
-
class Chef
|
27
|
-
class Knife
|
28
|
-
class BootstrapAzurerm < Knife
|
29
|
-
include Knife::AzurermBase
|
30
|
-
include Knife::Bootstrap::CommonBootstrapOptions
|
31
|
-
include Knife::Bootstrap::Bootstrapper
|
32
|
-
|
33
|
-
banner "knife bootstrap azurerm SERVER (options)"
|
34
|
-
|
35
|
-
option :azure_service_location,
|
36
|
-
:short => "-m LOCATION",
|
37
|
-
:long => "--azure-service-location LOCATION",
|
38
|
-
:description => "Required if not using an Affinity Group. Specifies the geographic location - the name of the data center location that is valid for your subscription.
|
39
|
-
Eg: westus, eastus, eastasia, southeastasia, northeurope, westeurope",
|
40
|
-
:proc => Proc.new { |lo| Chef::Config[:knife][:azure_service_location] = lo }
|
41
|
-
|
42
|
-
def run
|
43
|
-
ui.log("Validating...")
|
44
|
-
validate_arm_keys!(:azure_resource_group_name, :azure_service_location)
|
45
|
-
|
46
|
-
begin
|
47
|
-
if @name_args.length == 1
|
48
|
-
ui.log("Creating VirtualMachineExtension....")
|
49
|
-
ext_params = set_ext_params
|
50
|
-
vm_extension = service.create_vm_extension(ext_params)
|
51
|
-
if vm_extension
|
52
|
-
if ext_params[:chef_extension_public_param][:extendedLogs] ==
|
53
|
-
service.fetch_chef_client_logs(ext_params[:azure_resource_group_name], ext_params[:azure_vm_name], ext_params[:chef_extension], Time.now)
|
54
|
-
end
|
55
|
-
ui.log("VirtualMachineExtension creation successfull.")
|
56
|
-
ui.log("Virtual Machine Extension name is: #{vm_extension.name}")
|
57
|
-
ui.log("Virtual Machine Extension ID is: #{vm_extension.id}")
|
58
|
-
end
|
59
|
-
else
|
60
|
-
raise ArgumentError,
|
61
|
-
raise ArgumentError,
|
62
|
-
end
|
63
|
-
rescue => error
|
64
|
-
service.common_arm_rescue_block(error)
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
def set_ext_params
|
69
|
-
server = service.find_server(locate_config_value(:azure_resource_group_name), name_args[0])
|
70
|
-
|
71
|
-
if server
|
72
|
-
if service.extension_already_installed?(server)
|
73
|
-
raise "Virtual machine #{server.name} already has Chef extension installed on it."
|
74
|
-
else
|
75
|
-
ext_params = Hash.new
|
76
|
-
case server.storage_profile.os_disk.os_type.downcase
|
77
|
-
when
|
78
|
-
ext_params[:chef_extension] =
|
79
|
-
when
|
80
|
-
if
|
81
|
-
ext_params[:chef_extension] =
|
82
|
-
else
|
83
|
-
raise "Offer #{server.storage_profile.image_reference.offer} is not supported in the extension."
|
84
|
-
end
|
85
|
-
else
|
86
|
-
raise "OS type #{server.storage_profile.os_disk.os_type} is not supported."
|
87
|
-
end
|
88
|
-
|
89
|
-
ext_params[:azure_resource_group_name] = locate_config_value(:azure_resource_group_name)
|
90
|
-
ext_params[:azure_vm_name] = @name_args[0]
|
91
|
-
ext_params[:azure_service_location] = locate_config_value(:azure_service_location)
|
92
|
-
ext_params[:chef_extension_publisher] = get_chef_extension_publisher
|
93
|
-
ext_params[:chef_extension_version] = get_chef_extension_version(ext_params[:chef_extension])
|
94
|
-
ext_params[:chef_extension_public_param] = get_chef_extension_public_params
|
95
|
-
ext_params[:chef_extension_private_param] = get_chef_extension_private_params
|
96
|
-
end
|
97
|
-
else
|
98
|
-
raise "The given server '#{@name_args[0]}' does not exist under resource group '#{locate_config_value(:azure_resource_group_name)}'"
|
99
|
-
end
|
100
|
-
|
101
|
-
ext_params
|
102
|
-
end
|
103
|
-
|
104
|
-
end
|
105
|
-
end
|
106
|
-
end
|
1
|
+
#
|
2
|
+
# Author:: Nimisha Sharad (nimisha.sharad@clogeny.com)
|
3
|
+
#
|
4
|
+
# Copyright:: Copyright 2016-2018 Chef Software, Inc.
|
5
|
+
# License:: Apache License, Version 2.0
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
require "chef/knife/azurerm_base"
|
21
|
+
require "chef/knife/bootstrap/common_bootstrap_options"
|
22
|
+
require "chef/knife/bootstrap/bootstrapper"
|
23
|
+
require "azure/resource_management/ARM_interface"
|
24
|
+
require "time"
|
25
|
+
|
26
|
+
class Chef
|
27
|
+
class Knife
|
28
|
+
class BootstrapAzurerm < Knife
|
29
|
+
include Knife::AzurermBase
|
30
|
+
include Knife::Bootstrap::CommonBootstrapOptions
|
31
|
+
include Knife::Bootstrap::Bootstrapper
|
32
|
+
|
33
|
+
banner "knife bootstrap azurerm SERVER (options)"
|
34
|
+
|
35
|
+
option :azure_service_location,
|
36
|
+
:short => "-m LOCATION",
|
37
|
+
:long => "--azure-service-location LOCATION",
|
38
|
+
:description => "Required if not using an Affinity Group. Specifies the geographic location - the name of the data center location that is valid for your subscription.
|
39
|
+
Eg: westus, eastus, eastasia, southeastasia, northeurope, westeurope",
|
40
|
+
:proc => Proc.new { |lo| Chef::Config[:knife][:azure_service_location] = lo }
|
41
|
+
|
42
|
+
def run
|
43
|
+
ui.log("Validating...")
|
44
|
+
validate_arm_keys!(:azure_resource_group_name, :azure_service_location)
|
45
|
+
|
46
|
+
begin
|
47
|
+
if @name_args.length == 1
|
48
|
+
ui.log("Creating VirtualMachineExtension....")
|
49
|
+
ext_params = set_ext_params
|
50
|
+
vm_extension = service.create_vm_extension(ext_params)
|
51
|
+
if vm_extension
|
52
|
+
if ext_params[:chef_extension_public_param][:extendedLogs] == "true"
|
53
|
+
service.fetch_chef_client_logs(ext_params[:azure_resource_group_name], ext_params[:azure_vm_name], ext_params[:chef_extension], Time.now)
|
54
|
+
end
|
55
|
+
ui.log("VirtualMachineExtension creation successfull.")
|
56
|
+
ui.log("Virtual Machine Extension name is: #{vm_extension.name}")
|
57
|
+
ui.log("Virtual Machine Extension ID is: #{vm_extension.id}")
|
58
|
+
end
|
59
|
+
else
|
60
|
+
raise ArgumentError, "Please specify the SERVER name which needs to be bootstrapped via the Chef Extension." if @name_args.length == 0
|
61
|
+
raise ArgumentError, "Please specify only one SERVER name which needs to be bootstrapped via the Chef Extension." if @name_args.length > 1
|
62
|
+
end
|
63
|
+
rescue => error
|
64
|
+
service.common_arm_rescue_block(error)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
def set_ext_params
|
69
|
+
server = service.find_server(locate_config_value(:azure_resource_group_name), name_args[0])
|
70
|
+
|
71
|
+
if server
|
72
|
+
if service.extension_already_installed?(server)
|
73
|
+
raise "Virtual machine #{server.name} already has Chef extension installed on it."
|
74
|
+
else
|
75
|
+
ext_params = Hash.new
|
76
|
+
case server.storage_profile.os_disk.os_type.downcase
|
77
|
+
when "windows"
|
78
|
+
ext_params[:chef_extension] = "ChefClient"
|
79
|
+
when "linux"
|
80
|
+
if %w{ubuntu debian rhel centos}.any? { |platform| server.storage_profile.image_reference.offer.downcase.include? platform }
|
81
|
+
ext_params[:chef_extension] = "LinuxChefClient"
|
82
|
+
else
|
83
|
+
raise "Offer #{server.storage_profile.image_reference.offer} is not supported in the extension."
|
84
|
+
end
|
85
|
+
else
|
86
|
+
raise "OS type #{server.storage_profile.os_disk.os_type} is not supported."
|
87
|
+
end
|
88
|
+
|
89
|
+
ext_params[:azure_resource_group_name] = locate_config_value(:azure_resource_group_name)
|
90
|
+
ext_params[:azure_vm_name] = @name_args[0]
|
91
|
+
ext_params[:azure_service_location] = locate_config_value(:azure_service_location)
|
92
|
+
ext_params[:chef_extension_publisher] = get_chef_extension_publisher
|
93
|
+
ext_params[:chef_extension_version] = get_chef_extension_version(ext_params[:chef_extension])
|
94
|
+
ext_params[:chef_extension_public_param] = get_chef_extension_public_params
|
95
|
+
ext_params[:chef_extension_private_param] = get_chef_extension_private_params
|
96
|
+
end
|
97
|
+
else
|
98
|
+
raise "The given server '#{@name_args[0]}' does not exist under resource group '#{locate_config_value(:azure_resource_group_name)}'"
|
99
|
+
end
|
100
|
+
|
101
|
+
ext_params
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
data/lib/knife-azure/version.rb
CHANGED
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: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Barry Davis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -43,58 +43,82 @@ dependencies:
|
|
43
43
|
name: azure_mgmt_resources
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0.17'
|
49
|
+
- - ">="
|
47
50
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.
|
51
|
+
version: 0.17.2
|
49
52
|
type: :runtime
|
50
53
|
prerelease: false
|
51
54
|
version_requirements: !ruby/object:Gem::Requirement
|
52
55
|
requirements:
|
53
|
-
- -
|
56
|
+
- - "~>"
|
54
57
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
58
|
+
version: '0.17'
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.17.2
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
63
|
name: azure_mgmt_compute
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
59
65
|
requirements:
|
60
|
-
- -
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.18'
|
69
|
+
- - ">="
|
61
70
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
71
|
+
version: 0.18.3
|
63
72
|
type: :runtime
|
64
73
|
prerelease: false
|
65
74
|
version_requirements: !ruby/object:Gem::Requirement
|
66
75
|
requirements:
|
67
|
-
- -
|
76
|
+
- - "~>"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0.18'
|
79
|
+
- - ">="
|
68
80
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
81
|
+
version: 0.18.3
|
70
82
|
- !ruby/object:Gem::Dependency
|
71
83
|
name: azure_mgmt_storage
|
72
84
|
requirement: !ruby/object:Gem::Requirement
|
73
85
|
requirements:
|
74
|
-
- -
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0.17'
|
89
|
+
- - ">="
|
75
90
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
91
|
+
version: 0.17.3
|
77
92
|
type: :runtime
|
78
93
|
prerelease: false
|
79
94
|
version_requirements: !ruby/object:Gem::Requirement
|
80
95
|
requirements:
|
81
|
-
- -
|
96
|
+
- - "~>"
|
82
97
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
98
|
+
version: '0.17'
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.17.3
|
84
102
|
- !ruby/object:Gem::Dependency
|
85
103
|
name: azure_mgmt_network
|
86
104
|
requirement: !ruby/object:Gem::Requirement
|
87
105
|
requirements:
|
88
|
-
- -
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0.18'
|
109
|
+
- - ">="
|
89
110
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.
|
111
|
+
version: 0.18.2
|
91
112
|
type: :runtime
|
92
113
|
prerelease: false
|
93
114
|
version_requirements: !ruby/object:Gem::Requirement
|
94
115
|
requirements:
|
95
|
-
- -
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0.18'
|
119
|
+
- - ">="
|
96
120
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
121
|
+
version: 0.18.2
|
98
122
|
- !ruby/object:Gem::Dependency
|
99
123
|
name: listen
|
100
124
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,62 +161,6 @@ dependencies:
|
|
137
161
|
- - ">="
|
138
162
|
- !ruby/object:Gem::Version
|
139
163
|
version: '0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: chef
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - ">="
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 12.2.1
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 12.2.1
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: mixlib-config
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - "~>"
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '2.0'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - "~>"
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '2.0'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: equivalent-xml
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - "~>"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: 0.2.9
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: 0.2.9
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: knife-cloud
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - ">="
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: 1.0.0
|
189
|
-
type: :development
|
190
|
-
prerelease: false
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - ">="
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: 1.0.0
|
196
164
|
description: A plugin to the Chef knife tool for creating instances on the Microsoft
|
197
165
|
Azure platform
|
198
166
|
email: oss@chef.io
|
@@ -205,7 +173,6 @@ files:
|
|
205
173
|
- lib/azure/azure_interface.rb
|
206
174
|
- lib/azure/custom_errors.rb
|
207
175
|
- lib/azure/helpers.rb
|
208
|
-
- lib/azure/resource_management/ARM_base.rb
|
209
176
|
- lib/azure/resource_management/ARM_deployment_template.rb
|
210
177
|
- lib/azure/resource_management/ARM_interface.rb
|
211
178
|
- lib/azure/resource_management/vnet_config.rb
|
@@ -259,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
259
226
|
requirements:
|
260
227
|
- - ">="
|
261
228
|
- !ruby/object:Gem::Version
|
262
|
-
version: 2.
|
229
|
+
version: '2.3'
|
263
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
231
|
requirements:
|
265
232
|
- - ">="
|