kitchen-linode 0.2.0 → 0.3.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: af31affc32b5e1a6b472f845b7f2de4e7c32616e
4
- data.tar.gz: 81d76b2323efe86aebb1f5a08dd4135dc872526a
3
+ metadata.gz: 51b36d83e4fabed45009093618199bd15271f3c8
4
+ data.tar.gz: 7ce29143d549dab5ccae2c468cb9492550d4fea8
5
5
  SHA512:
6
- metadata.gz: 97d2db6f9274821a5b26f0f89b930aaab0ff679ef2471b6abbd9e5f6255cf5e29026a32a0bc1becad9785793c244cefebddef10c4a98cc5f70fb5346fb7ee87c
7
- data.tar.gz: a5f2145e6ebc06801f7ca9d75e68b34eeea96ddb45f203d1deb59b5a3308da7f991fe6565d245f475f0288657f04e580c7e8856bc224d211486bc5130bf09f79
6
+ metadata.gz: c59b154faf231fbd485a699de866f498f7fa82880098bf17434d8cbd689702059f9201bc4428433aea8d5fbc4dc954274fa14febc7493318d7a67bfed1daff7c
7
+ data.tar.gz: 3a275be3a6d5a0ea775d0dce52917badb02ed2457be747f01cae1d88873c88a9d324efc2148f8d22d091d47c45693d2d6f3bd622ec01f433fed19c231a4410b0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.0
2
+
3
+ * added option for ssh timeout, set default to 60 seconds
4
+
1
5
  ## 0.2.0
2
6
 
3
7
  * Small updates to configuration logic
@@ -41,6 +41,7 @@ module Kitchen
41
41
 
42
42
  default_config :sudo, true
43
43
  default_config :port, 22
44
+ default_config :ssh_timeout, 60
44
45
 
45
46
  default_config :private_key, nil
46
47
  default_config :private_key_path, "~/.ssh/id_rsa"
@@ -187,7 +188,8 @@ module Kitchen
187
188
  info "Setting up SSH access for key <#{config[:public_key_path]}>"
188
189
  ssh = Fog::SSH.new(state[:hostname],
189
190
  config[:username],
190
- password: config[:password])
191
+ password: config[:password],
192
+ timeout: config[:ssh_timeout])
191
193
  pub_key = open(config[:public_key_path]).read
192
194
  ssh.run([
193
195
  %(mkdir .ssh),
@@ -20,6 +20,6 @@ module Kitchen
20
20
 
21
21
  module Driver
22
22
  # Version string for Linode Kitchen driver
23
- LINODE_VERSION = "0.2.0"
23
+ LINODE_VERSION = "0.3.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-linode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Taylor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-10 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen