kitchen-ssh 0.0.11 → 0.0.12

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: c5cac5019b09aeac0fb2ffe4f784d78a0f25f3c8
4
- data.tar.gz: 4f7a0a2df1d7371c3ab021608d1365798ae64860
3
+ metadata.gz: db33c25d5285f57f8cb30bbeb568cadec8dfa709
4
+ data.tar.gz: ac13f5cc463785c87c9dcaf6d4064fd627821486
5
5
  SHA512:
6
- metadata.gz: 869f95c057d6110409689d5d7795e9c431b50f25972f2024a89d491caaf8f83548e16ac26d0bf59fb1a4b5ba3e133d22c607d4c4439960059efa3e0681a506e9
7
- data.tar.gz: e4692e8ff4c1a84060dc7b5375a8e3e97f8e43333b0fde890eda875ad4bdf697e5d592db45b14363ef73e509b00cd644cbde7ca253b648ab33d87dabce4e8ba8
6
+ metadata.gz: c8f5aa5a39d2427aebf6df99d157af3f95910fdfaaaddd9197451f1897f104deb57e8a44ec70f73a534d9f7c3937da66542a4464a259ebaa5ec79af37bed4983
7
+ data.tar.gz: 2ab00fabf6b2fb21ce06e89bc4b7b9025552d5a3d53615f91946ff1d7533540324e2eaa41a4b244534331de30c5bf2af12323b4eb6fe357cea725c62662a712e
data/README.md CHANGED
@@ -60,3 +60,16 @@ driver:
60
60
  username: username
61
61
  ssh_key: /path/to/id_rsa
62
62
  ```
63
+
64
+ ### Bastion Host
65
+
66
+ If you use a bastion host, add the following lines:
67
+
68
+ ```yaml
69
+ transport:
70
+ name: ssh
71
+ ssh_gateway: bastion-ip
72
+ ssh_gateway_username: bastion-user
73
+ ```
74
+
75
+ Alternatively add `ProxyCommand ssh -W %h:%p bastion-user@bastion-ip` to your `ssh_config(5)`
@@ -21,7 +21,7 @@ module Kitchen
21
21
  def destroy(state)
22
22
  print "Kitchen-ssh does not destroy your server '#{state[:hostname]}' by shutting it down..."
23
23
  print "Shutdown your server '#{state[:hostname]}' natively with user '#{state[:username]}'"
24
- print 'in your cloud or virtualisation console etc.\n'
24
+ print 'in your cloud or virtualisation console etc.'
25
25
  debug("ssh:destroy '#{state[:hostname]}'")
26
26
  end
27
27
 
@@ -21,7 +21,7 @@ module Kitchen
21
21
  def destroy(state)
22
22
  print "Kitchen-sshGzip does not destroy your server '#{state[:hostname]}' by shutting it down..."
23
23
  print "Shutdown your server '#{state[:hostname]}' natively with user '#{state[:username]}'"
24
- print 'in your cloud or virtualisation console etc.\n'
24
+ print 'in your cloud or virtualisation console etc.'
25
25
  debug("ssh:destroy '#{state[:hostname]}'")
26
26
  end
27
27
 
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Ssh
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-28 00:00:00.000000000 Z
11
+ date: 2016-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitar