kitchen-azurerm 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/kitchen/driver/azurerm.rb +7 -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: b293fab8889ce005825ae55cc9d40f32b49a58b1
|
4
|
+
data.tar.gz: 471901a503b5253ed4186452569f20744067e3ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc878626a10d48b87660186dcef9f7314054dc5ff27ccbc9863171cc63f8f8f845ca82137ca5f82344cbc8d73688e70ddc9e8cb996320681c2580f423a0e7bc8
|
7
|
+
data.tar.gz: ae7c006343d7129c0a8ece2530e714eb2cc1bb8b9aae5bc21483b5c8e087544f53cfa7e4298e23c39016f75fd95414ed3b39c3948a61e0012a041f0e4233432c
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
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.
|
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-
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inifile
|