kitchen-azurerm 1.10.0 → 1.10.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b23f86900f73d29aa7e36f1cbfe09b12f4a941cc024263350dea4963268ca81d
4
- data.tar.gz: 4dd51ff620ce6840fc186107507df91d156bfc8893ece60a05ea2b7b250d21df
3
+ metadata.gz: 8c2d4d855c70865164332265323c12695861be5a81ba70d16c080e0b3d123e82
4
+ data.tar.gz: d7da5dc49a5b7c0edf83f106fac5a972501488e3846625e3c5014ae5b3dd9c72
5
5
  SHA512:
6
- metadata.gz: 6834dc74db04c0bd9606b4b3eb4b6c20cc0e3a88f224e8a279a13adaeecbb51fb6b1944dceb93c5b84f33bc2079d26b6f28e2665b74919ea4177a8343b349a6a
7
- data.tar.gz: 28f7809e34876452fb4046c821482ae630bfa0ae5500eb554c387270ae3fc571cd561d67909a70e6f57a78a89df9789a2983c6a1e76a8bddcf56667c68097a1f
6
+ metadata.gz: 8d0fca11da2c12b66d0c44f9a976b5cb0124be9358db6bb7f4d61f408ca66d52bf94be4cb38250c5f81e1a41ccc44cdeaf7a3f7d8ad9ef860f5aaa59e09f5be2
7
+ data.tar.gz: 966578a9f01c4ff89aa86a91b9ad313c16c9804d9c42a2fbef966e0abf434f907f0b976f5f73b3e2bf09fb15b4343c7b330f56471a5082e16609f4bc546ea5f1
@@ -60,7 +60,7 @@ module Kitchen
60
60
  @credentials ||= if File.file?(config_path)
61
61
  IniFile.load(config_path)
62
62
  else
63
- warn "#{config_path} was not found or not accessible."
63
+ debug "#{config_path} was not found or not accessible."
64
64
  {}
65
65
  end
66
66
  end
@@ -220,15 +220,10 @@ module Kitchen
220
220
  false
221
221
  end
222
222
 
223
- default_config(:zone) do |_config|
224
- "1"
225
- end
226
-
227
223
  def create(state)
228
224
  state = validate_state(state)
229
225
  deployment_parameters = {
230
226
  location: config[:location],
231
- zone: config[:zone],
232
227
  vmSize: config[:machine_size],
233
228
  storageAccountType: config[:storage_account_type],
234
229
  bootDiagnosticsEnabled: config[:boot_diagnostics_enabled],
@@ -768,7 +763,7 @@ module Kitchen
768
763
  def virtual_machine_deployment_template_file(template_file, data = {})
769
764
  template = File.read(File.expand_path(File.join(__dir__, "../../../templates", template_file)))
770
765
  render_binding = OpenStruct.new(data)
771
- ERB.new(template, nil, "-").result(render_binding.instance_eval { binding })
766
+ ERB.new(template, trim_mode: "-").result(render_binding.instance_eval { binding })
772
767
  end
773
768
 
774
769
  def resource_manager_endpoint_url(azure_environment)
@@ -0,0 +1,5 @@
1
+ module Kitchen
2
+ module Driver
3
+ AZURERM_VERSION = "1.10.5".freeze
4
+ end
5
+ end
@@ -8,18 +8,6 @@
8
8
  "description": "The location where the resources will be created."
9
9
  }
10
10
  },
11
- "zone": {
12
- "type": "string",
13
- "defaultValue": "1",
14
- "allowedValues": [
15
- "1",
16
- "2",
17
- "3"
18
- ],
19
- "metadata": {
20
- "description": "Zone number for the virtual machine"
21
- }
22
- },
23
11
  "vmSize": {
24
12
  "type": "string",
25
13
  "metadata": {
@@ -220,7 +208,6 @@
220
208
  },
221
209
  "variables": {
222
210
  "location": "[parameters('location')]",
223
- "zone": "[parameters('zone')]",
224
211
  "OSDiskName": "osdisk",
225
212
  "nicName": "[parameters('nicName')]",
226
213
  "addressPrefix": "10.0.0.0/16",
@@ -272,9 +259,6 @@
272
259
  "type": "Microsoft.Network/publicIPAddresses",
273
260
  "name": "[variables('publicIPAddressName')]",
274
261
  "location": "[variables('location')]",
275
- "zones": [
276
- "[variables('zone')]"
277
- ],
278
262
  "sku": {
279
263
  "name": "[parameters('publicIPSKU')]"
280
264
  },
@@ -326,9 +310,6 @@
326
310
  "type": "Microsoft.Compute/virtualMachines",
327
311
  "name": "[variables('vmName')]",
328
312
  "location": "[variables('location')]",
329
- "zones": [
330
- "[variables('zone')]"
331
- ],
332
313
  "dependsOn": [
333
314
  <%- unless use_managed_disks -%>
334
315
  <%- if existing_storage_account_blob_url.empty? -%>
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.10.0
4
+ version: 1.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Preston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-01 00:00:00.000000000 Z
11
+ date: 2022-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: azure_mgmt_network
@@ -120,6 +120,7 @@ files:
120
120
  - LICENSE
121
121
  - lib/kitchen/driver/azure_credentials.rb
122
122
  - lib/kitchen/driver/azurerm.rb
123
+ - lib/kitchen/driver/azurerm_version.rb
123
124
  - templates/empty.erb
124
125
  - templates/internal.erb
125
126
  - templates/public.erb