kitchen-azurerm 0.3.4 → 0.3.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
  SHA1:
3
- metadata.gz: dd80f1ea96944f1f057aa4408352df6c271b8ee7
4
- data.tar.gz: d0f3fe3e46e1adc0b99d54616fb4f6810a310744
3
+ metadata.gz: 8651b3f882557721799353ed9098d5a3f12b9e57
4
+ data.tar.gz: c1bb1f88699542c1760eed48bb95065aa64e976b
5
5
  SHA512:
6
- metadata.gz: 6dd7aa39f02b6b4349520d5fd3eeb6f14965bacdfb57a77a3ac8e39f45bfb91f0a17bd0c537a031d5a9e62e5a308871e6fc36e62e44fc9639f9a82e257d4a91a
7
- data.tar.gz: 2abbf7c815ab65a7b9dbf148639db7417daa93fd4b7458810960a4ea7511628459eea91380adba00daacd40d5313fcbb9d6258fcb903eb75239b01c9d4dd108a
6
+ metadata.gz: c1e2ef35e30913b144048b6415bf6acca33ad163f88b855158d76cfb36cde02695b6d76dfdeda304bf6f94bf3c11ca5f003450e855bd76a5566f59c1d52f3fd3
7
+ data.tar.gz: d9aa055ba5e111a9e8c66bac9f4c0972558bde77be98335c1ef974300598be58e1ae28b79c986a471af47c985ddcd7f1be3f3239618a4432f2cf421ca8cbba54
@@ -1,7 +1,14 @@
1
1
  # kitchen-azurerm Changelog
2
2
 
3
+ ## [0.3.5] - 2016-03-21
4
+ - Remove transport name restriction on SSH key upload (allow rsync support) (@stuartpreston)
5
+ - Support SSH public keys with newlines as generated by ssh-keygen (@stuartpreston)
6
+
7
+ ## [0.3.4] - 2016-03-19
8
+ - Additional diagnostics when Azure Resource Group fails to create successfully (@stuartpreston)
9
+
3
10
  ## [0.3.3] - 2016-03-07
4
- - Pinning ms_rest_azure dependencies to avoid errors when using latest ms_rest_azure library.
11
+ - Pinning ms_rest_azure dependencies to avoid errors when using latest ms_rest_azure library (@stuartpreston)
5
12
 
6
13
  ## [0.3.2] - 2016-03-07
7
14
  - Breaking: Linux machines are now created using a temporary sshkey (~/.ssh/id_kitchen-azurerm) instead of password (@stuartpreston)
@@ -150,7 +150,7 @@ module Kitchen
150
150
  template['resources'] << JSON.parse(custom_script_extension_template(command))
151
151
  end
152
152
 
153
- if instance.transport.name.casecmp('ssh') == 0 && !instance.transport[:ssh_key].nil?
153
+ unless instance.transport[:ssh_key].nil?
154
154
  info "Adding public key from #{File.expand_path(instance.transport[:ssh_key])}.pub to the deployment."
155
155
  public_key = public_key_for_deployment(File.expand_path(instance.transport[:ssh_key]))
156
156
  template['resources'].select { |h| h['type'] == 'Microsoft.Compute/virtualMachines' }.each do |resource|
@@ -180,7 +180,7 @@ module Kitchen
180
180
  else
181
181
  output = File.read("#{private_key_filename}.pub")
182
182
  end
183
- output
183
+ output.strip
184
184
  end
185
185
 
186
186
  def deployment(parameters)
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.3.4
4
+ version: 0.3.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: 2016-03-19 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile