kitchen-azurerm 0.7.1 → 0.7.2
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/CHANGELOG.md +6 -0
- data/lib/kitchen/driver/azurerm.rb +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 902ca908848a5eb2cad80be658cf595a20c2410d
|
|
4
|
+
data.tar.gz: 4fc62716438e52d4fa77a0a230395eeee85cdabc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5dd19bda00f9a9554900c5be73bf1f7da044350281950f5477a6a4009f7a18b5784e01ec4347c8c7a96e75176eb74f7d429a67792a275f640c8c3dc008aef3a6
|
|
7
|
+
data.tar.gz: 182b6c01b0bb5e94269d3d734ce93213fe7d650a8b3b5a4337dcd78b6142593b864673591b3f77f1d867496268cc1a5ba5650c73227328d3a076b0b4d4d16ca1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# kitchen-azurerm Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.2] - 2016-11-03
|
|
4
|
+
- Bug: When repeating a completed deployment, deployment would fail with a nil error on resource_name (@stuartpreston)
|
|
5
|
+
|
|
6
|
+
## [0.7.1] - 2016-09-17
|
|
7
|
+
- Bug: WinRM is not enabled where the platform name does not contain 'nano' (@stuartpreston)
|
|
8
|
+
|
|
3
9
|
## [0.7.0] - 2016-09-15
|
|
4
10
|
- Support creation of Windows Nano Server (ignoring automatic WinRM setting application) (@stuartpreston)
|
|
5
11
|
|
|
@@ -267,9 +267,10 @@ module Kitchen
|
|
|
267
267
|
deployment_operations = resource_management_client.deployment_operations.list(resource_group, deployment_name)
|
|
268
268
|
deployment_operations.each do |val|
|
|
269
269
|
resource_provisioning_state = val.properties.provisioning_state
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
unless val.properties.target_resource.nil?
|
|
271
|
+
resource_name = val.properties.target_resource.resource_name
|
|
272
|
+
resource_type = val.properties.target_resource.resource_type
|
|
273
|
+
end
|
|
273
274
|
end_operation_state_reached = end_operation_states.split(',').include?(resource_provisioning_state)
|
|
274
275
|
unless end_operation_state_reached
|
|
275
276
|
info "Resource #{resource_type} '#{resource_name}' provisioning status is #{resource_provisioning_state}"
|
|
@@ -357,10 +358,10 @@ New-NetFirewallRule -DisplayName "Windows Remote Management (HTTP-In)" -Name "Wi
|
|
|
357
358
|
|
|
358
359
|
def virtual_machine_deployment_template
|
|
359
360
|
if config[:vnet_id] == ''
|
|
360
|
-
|
|
361
|
+
virtual_machine_deployment_template_public
|
|
361
362
|
else
|
|
362
363
|
info "Using custom vnet: #{config[:vnet_id]}"
|
|
363
|
-
|
|
364
|
+
virtual_machine_deployment_template_internal(config[:vnet_id], config[:subnet_id])
|
|
364
365
|
end
|
|
365
366
|
end
|
|
366
367
|
|
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: 0.7.
|
|
4
|
+
version: 0.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stuart Preston
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: inifile
|