kitchen-azurerm 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kitchen/driver/azurerm.rb +6 -3
- data/lib/kitchen/driver/azurerm_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b4d1f1b3015fb567bd97165402be78a03a899e5388e021cfd83494fef6c80a3
|
|
4
|
+
data.tar.gz: c457612130887cb6a4cc3762bda8b5ee2f3b0abb64740414affb619081e88a45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c289785b2a403744122fe84837c54c63c1946e9e7c1ae8819add99ab27cdb3810415e98951dec0e7165ad0548d98d86064269e385974ed2fbcfa4c9b038a8750
|
|
7
|
+
data.tar.gz: 7d48bc3cfc134dd5ede4b6e58f116efd13e59ff4d1a95b26f7dcd7c79172518a52f1e5503395bf50d8538312c0caf0f8180390559f37ff96da8153ba6e9072b1
|
|
@@ -302,7 +302,7 @@ module Kitchen
|
|
|
302
302
|
dnsNameForPublicIP: "kitchen-#{state[:uuid]}",
|
|
303
303
|
vmName: state[:vm_name],
|
|
304
304
|
systemAssignedIdentity: config[:system_assigned_identity],
|
|
305
|
-
userAssignedIdentities: config[:user_assigned_identities].to_h { |identity| [identity, {}] },
|
|
305
|
+
userAssignedIdentities: Array(config[:user_assigned_identities]).to_h { |identity| [identity, {}] },
|
|
306
306
|
secretUrl: config[:secret_url],
|
|
307
307
|
vaultName: config[:vault_name],
|
|
308
308
|
vaultResourceGroup: config[:vault_resource_group],
|
|
@@ -940,8 +940,11 @@ module Kitchen
|
|
|
940
940
|
data = {
|
|
941
941
|
vm_tags: vm_tag_string(config[:vm_tags]),
|
|
942
942
|
storage_account_type: config[:storage_account_type],
|
|
943
|
-
|
|
944
|
-
|
|
943
|
+
# A setting written with no value is nil, not "". The templates ask
|
|
944
|
+
# these two whether they are empty, so give them something that can
|
|
945
|
+
# answer.
|
|
946
|
+
image_id: config[:image_id].to_s,
|
|
947
|
+
custom_data: config[:custom_data].to_s,
|
|
945
948
|
os_disk_size_gb: config[:os_disk_size_gb],
|
|
946
949
|
data_disks_for_vm_json:,
|
|
947
950
|
use_ephemeral_osdisk: config[:use_ephemeral_osdisk],
|