kitchen-azurerm 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/driver/azurerm.rb +1 -1
- data/templates/internal.erb +22 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83ff621acb68f00027da706be0a8cbcc9d1913ea0972a57596180d9d2cadc399
|
4
|
+
data.tar.gz: e32b5481b1ca6bec77dbe2f1da1f2be2d4c7236c8d35d6dd676e06979cdd69db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dd5a780356dc995c62ebc6f8cd91038b8c02a670af1de28e43090011df9e48d2a96c59702353802b4f9719c3722dba9f83a30af0545305b966df4c7bc7f76c8
|
7
|
+
data.tar.gz: 5e69a4e0b62d614c4aab4d86e46a4ab18e4aba6366bdc0f92d6afa8e0e466c1ac57911b4cf1787b4f68294ab674916dbc6b5621a8603f3ab5a00a286f6d131d3
|
@@ -740,7 +740,7 @@ module Kitchen
|
|
740
740
|
virtual_machine_deployment_template_file("public.erb", vm_tags: vm_tag_string(config[:vm_tags]), use_managed_disks: config[:use_managed_disks], image_url: config[:image_url], existing_storage_account_blob_url: config[:existing_storage_account_blob_url], image_id: config[:image_id], existing_storage_account_container: config[:existing_storage_account_container], custom_data: config[:custom_data], os_disk_size_gb: config[:os_disk_size_gb], data_disks_for_vm_json: data_disks_for_vm_json, use_ephemeral_osdisk: config[:use_ephemeral_osdisk], ssh_key: instance.transport[:ssh_key], plan_json: plan_json)
|
741
741
|
else
|
742
742
|
info "Using custom vnet: #{config[:vnet_id]}"
|
743
|
-
virtual_machine_deployment_template_file("internal.erb", vnet_id: config[:vnet_id], subnet_id: config[:subnet_id], public_ip: config[:public_ip], vm_tags: vm_tag_string(config[:vm_tags]), use_managed_disks: config[:use_managed_disks], image_url: config[:image_url], existing_storage_account_blob_url: config[:existing_storage_account_blob_url], image_id: config[:image_id], existing_storage_account_container: config[:existing_storage_account_container], custom_data: config[:custom_data], os_disk_size_gb: config[:os_disk_size_gb], data_disks_for_vm_json: data_disks_for_vm_json, use_ephemeral_osdisk: config[:use_ephemeral_osdisk], ssh_key: instance.transport[:ssh_key], plan_json: plan_json)
|
743
|
+
virtual_machine_deployment_template_file("internal.erb", vnet_id: config[:vnet_id], subnet_id: config[:subnet_id], public_ip: config[:public_ip], vm_tags: vm_tag_string(config[:vm_tags]), use_managed_disks: config[:use_managed_disks], image_url: config[:image_url], existing_storage_account_blob_url: config[:existing_storage_account_blob_url], image_id: config[:image_id], existing_storage_account_container: config[:existing_storage_account_container], custom_data: config[:custom_data], os_disk_size_gb: config[:os_disk_size_gb], data_disks_for_vm_json: data_disks_for_vm_json, use_ephemeral_osdisk: config[:use_ephemeral_osdisk], ssh_key: instance.transport[:ssh_key], public_ip_sku: config[:public_ip_sku], plan_json: plan_json)
|
744
744
|
end
|
745
745
|
end
|
746
746
|
|
data/templates/internal.erb
CHANGED
@@ -40,20 +40,22 @@
|
|
40
40
|
"description": "Unique DNS Name for the Public IP used to access the Virtual Machine."
|
41
41
|
}
|
42
42
|
},
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
43
|
+
<%- if public_ip_sku %>
|
44
|
+
"publicIPSKU": {
|
45
|
+
"type": "string",
|
46
|
+
"defaultValue": "Standard",
|
47
|
+
"metadata": {
|
48
|
+
"description": "SKU name for the Public IP used to access the Virtual Machine."
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"publicIPAddressType": {
|
52
|
+
"type": "string",
|
53
|
+
"defaultValue": "Dynamic",
|
54
|
+
"metadata": {
|
55
|
+
"description": "SKU name for the Public IP used to access the Virtual Machine."
|
56
|
+
}
|
57
|
+
},
|
58
|
+
<%- end %>
|
57
59
|
<%- unless os_disk_size_gb.to_s.empty? -%>
|
58
60
|
"osDiskSizeGb": {
|
59
61
|
"type": "int",
|
@@ -359,12 +361,12 @@
|
|
359
361
|
},
|
360
362
|
<%- end -%>
|
361
363
|
<%- if use_ephemeral_osdisk -%>
|
362
|
-
"osDisk": {
|
363
|
-
"diffDiskSettings": {
|
364
|
-
"option": "Local"
|
365
|
-
},
|
366
|
-
"caching": "ReadOnly",
|
367
|
-
"createOption": "FromImage"
|
364
|
+
"osDisk": {
|
365
|
+
"diffDiskSettings": {
|
366
|
+
"option": "Local"
|
367
|
+
},
|
368
|
+
"caching": "ReadOnly",
|
369
|
+
"createOption": "FromImage"
|
368
370
|
}
|
369
371
|
<%- elsif use_managed_disks -%>
|
370
372
|
"osDisk": {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-azurerm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Preston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure_mgmt_network
|