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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d34cb889a331fa1622ad6e3729fe3ee619c06b5ab830ccc067ca6e17441be01
4
- data.tar.gz: a507483fd57dd9ac42ca96e2379d926bd6ad7aa924960374e6bd86298c196f3d
3
+ metadata.gz: 4b4d1f1b3015fb567bd97165402be78a03a899e5388e021cfd83494fef6c80a3
4
+ data.tar.gz: c457612130887cb6a4cc3762bda8b5ee2f3b0abb64740414affb619081e88a45
5
5
  SHA512:
6
- metadata.gz: 995c517ffd324584166c51a7463b2bc9588754828c231351224474713b34bc19d0d9ca0714c93fb5c3cdb7d9409911034a7af5a2200ab90fdb89ec3d4f019c74
7
- data.tar.gz: 4d79344aba476cc4caf04ca35f785a47eeba4de4758d883f26bf0e7bc912c846cc91def32cbdd1fb5325d3bbfe6b9fe6a4adb1bd0c717054283dd6e580f5ed36
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
- image_id: config[:image_id],
944
- custom_data: config[:custom_data],
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],
@@ -6,6 +6,6 @@ module Kitchen
6
6
  # driver and, with it, the whole Azure SDK.
7
7
  #
8
8
  # @return [String]
9
- AZURERM_VERSION = "2.1.2".freeze
9
+ AZURERM_VERSION = "2.1.3".freeze
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-azurerm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Preston