kitchen-azurerm 0.6.0 → 0.7.0

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
  SHA1:
3
- metadata.gz: 5913806cea6adac232bb78ca36c28a3c5d5d8543
4
- data.tar.gz: c6299ff17af05d0998a91ff49aacc8c46593e394
3
+ metadata.gz: b293fab8889ce005825ae55cc9d40f32b49a58b1
4
+ data.tar.gz: 471901a503b5253ed4186452569f20744067e3ca
5
5
  SHA512:
6
- metadata.gz: b2c2d28c4ef6d699aaf1f73d2f46c84314120feea1a21aee9d85b3315a3bb8f401a119302f21ec24585b96c0b602281240dd1637376c12b1b61b55eac3ab8cf0
7
- data.tar.gz: 3cdea0e98ab8f30f6dc34b749e8697130a00074d4c84ff283007cfa1de3c10a6ce2ef9e55d926678a460d07f5a16f377ed1a4612bf8e45a5e17cfe070351b5ac
6
+ metadata.gz: bc878626a10d48b87660186dcef9f7314054dc5ff27ccbc9863171cc63f8f8f845ca82137ca5f82344cbc8d73688e70ddc9e8cb996320681c2580f423a0e7bc8
7
+ data.tar.gz: ae7c006343d7129c0a8ece2530e714eb2cc1bb8b9aae5bc21483b5c8e087544f53cfa7e4298e23c39016f75fd95414ed3b39c3948a61e0012a041f0e4233432c
@@ -1,5 +1,8 @@
1
1
  # kitchen-azurerm Changelog
2
2
 
3
+ ## [0.7.0] - 2016-09-15
4
+ - Support creation of Windows Nano Server (ignoring automatic WinRM setting application) (@stuartpreston)
5
+
3
6
  ## [0.6.0] - 2016-08-22
4
7
  - Supports latest autogenerated resources from Azure SDK for Ruby (0.5.0) (@stuartpreston)
5
8
  - Removes unnecessary direct depdendencies on older ms_rest libraries (@stuartpreston)
@@ -168,12 +168,14 @@ module Kitchen
168
168
  def template_for_transport_name
169
169
  template = JSON.parse(virtual_machine_deployment_template)
170
170
  if instance.transport.name.casecmp('winrm').zero?
171
- encoded_command = Base64.strict_encode64(enable_winrm_powershell_script)
172
- command = command_to_execute
173
- template['resources'].select { |h| h['type'] == 'Microsoft.Compute/virtualMachines' }.each do |resource|
174
- resource['properties']['osProfile']['customData'] = encoded_command
171
+ unless instance.platform.name.casecmp('nano')
172
+ encoded_command = Base64.strict_encode64(enable_winrm_powershell_script)
173
+ command = command_to_execute
174
+ template['resources'].select { |h| h['type'] == 'Microsoft.Compute/virtualMachines' }.each do |resource|
175
+ resource['properties']['osProfile']['customData'] = encoded_command
176
+ end
177
+ template['resources'] << JSON.parse(custom_script_extension_template(command))
175
178
  end
176
- template['resources'] << JSON.parse(custom_script_extension_template(command))
177
179
  end
178
180
 
179
181
  unless instance.transport[:ssh_key].nil?
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.6.0
4
+ version: 0.7.0
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-08-22 00:00:00.000000000 Z
11
+ date: 2016-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile