kitchen-ssh 0.0.11 → 0.0.12
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 +4 -4
- data/README.md +13 -0
- data/lib/kitchen/driver/ssh.rb +1 -1
- data/lib/kitchen/driver/ssh_gzip.rb +1 -1
- data/lib/kitchen/ssh/version.rb +1 -1
- 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: db33c25d5285f57f8cb30bbeb568cadec8dfa709
|
|
4
|
+
data.tar.gz: ac13f5cc463785c87c9dcaf6d4064fd627821486
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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)`
|
data/lib/kitchen/driver/ssh.rb
CHANGED
|
@@ -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
|
|
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
|
|
24
|
+
print 'in your cloud or virtualisation console etc.'
|
|
25
25
|
debug("ssh:destroy '#{state[:hostname]}'")
|
|
26
26
|
end
|
|
27
27
|
|
data/lib/kitchen/ssh/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitar
|