kitchen-verifier-serverspec 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -3
- data/lib/kitchen/verifier/serverspec.rb +6 -10
- data/lib/kitchen/verifier/serverspec_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: aad3aa5089f6233a1d51c7ab81a77432a6c1ff41
|
4
|
+
data.tar.gz: f3ec2441cb006d1e24e5bf092abd5703a761e065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f247568a8a02206e18282b7d3930a818f19e331a1129fa4d1cd80ec1e92bf033c4653d0f833f1aeab078d207d7e1ea42c8487cd64f3cdffb8ff5cfbdc0614488
|
7
|
+
data.tar.gz: 5eaa111b9cce8190617c1d957639ed8140888ef5bb8b553fdaf618485cec7c2732d04437f3e7199bf92f5bf86ba223ebcd9a27c043595d0a6026c7c12eedfadd
|
data/README.md
CHANGED
@@ -208,9 +208,16 @@ require 'net/ssh'
|
|
208
208
|
|
209
209
|
RSpec.configure do |config|
|
210
210
|
set :host, ENV['KITCHEN_HOSTNAME']
|
211
|
-
# ssh options at http://net-ssh.github.io/ssh/
|
212
|
-
# ssh via ssh key
|
213
|
-
set :ssh_options,
|
211
|
+
# ssh options at http://net-ssh.github.io/net-ssh/Net/SSH.html#method-c-start
|
212
|
+
# ssh via ssh key (only)
|
213
|
+
set :ssh_options,
|
214
|
+
:user => ENV['KITCHEN_USERNAME'],
|
215
|
+
:port => ENV['KITCHEN_PORT'],
|
216
|
+
:auth_methods => [ 'publickey' ],
|
217
|
+
:keys => [ ENV['KITCHEN_SSH_KEY'] ],
|
218
|
+
:keys_only => true,
|
219
|
+
:paranoid => false,
|
220
|
+
:verbose => :error
|
214
221
|
set :backend, :ssh
|
215
222
|
set :request_pty, true
|
216
223
|
end
|
@@ -85,16 +85,12 @@ module Kitchen
|
|
85
85
|
else
|
86
86
|
<<-INSTALL
|
87
87
|
#{config[:additional_serverspec_command]}
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
else
|
95
|
-
echo "ERROR: Default path '#{config[:default_path]}' does not exist"
|
96
|
-
exit 1
|
97
|
-
fi
|
88
|
+
mkdir -p #{config[:default_path]}
|
89
|
+
cd #{config[:default_path]}
|
90
|
+
RSPEC_CMD=#{rspec_bash_cmd}
|
91
|
+
echo $RSPEC_CMD
|
92
|
+
#{rspec_commands}
|
93
|
+
#{remove_default_path}
|
98
94
|
INSTALL
|
99
95
|
end
|
100
96
|
elsif custom_serverspec_command
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-verifier-serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
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-06-
|
11
|
+
date: 2016-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|