kitchen-ssh 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Maxim Chernyak
1
+ Copyright (c) 2014 Neill Turner
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  ssh driver for test-kitchen for any running server with an ip address
4
4
 
5
- * server must be created and destroyed natively (e.g. via cloud or virtualization console).
6
- * specify driver parameters
7
- hostname
8
- port
9
- username
10
- password
11
- sudo
12
- ssh_key
13
- forward_agent
5
+ server must be created and destroyed natively (e.g. via cloud or virtualization console).
6
+ specify driver parameters
7
+ * hostname
8
+ * port
9
+ * username
10
+ * password
11
+ * sudo
12
+ * ssh_key
13
+ * forward_agent
14
14
 
15
15
  ## Installation
16
16
 
@@ -12,13 +12,15 @@ module Kitchen
12
12
  state[:username] = config[:username]
13
13
  state[:hostname] = config[:hostname]
14
14
  state[:password] = config[:password]
15
+ print "Kitchen-ssh does not start your server '#{state[:hostname]}' but will look for an ssh connection with user '#{state[:username]}'"
15
16
  wait_for_sshd(state[:hostname], state[:username])
16
- print '(ssh ready)\n'
17
+ print "Kitchen-ssh found ssh ready on host '#{state[:hostname]}' with user '#{state[:username]}'\n"
17
18
  debug("ssh:create '#{state[:hostname]}'")
18
19
  end
19
20
 
20
21
  def destroy(state)
21
- print 'To destroy server shut down the server natively.\n'
22
+ print "Kitchen-ssh does not destroy your server '#{state[:hostname]}' by shutting it down..."
23
+ print "Shutdown your server '#{state[:hostname]}' natively with user '#{state[:username]}'"
22
24
  print 'in your cloud or virtualisation console etc.\n'
23
25
  debug("ssh:destroy '#{state[:hostname]}'")
24
26
  end
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Ssh
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-10 00:00:00.000000000 Z
12
+ date: 2014-05-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! '== DESCRIPTION:
15
15