r-train 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -2
  3. data/lib/train/version.rb +1 -1
  4. data/train.gemspec +2 -2
  5. metadata +5 -107
  6. data/test/appveyor/windows.rb +0 -44
  7. data/test/integration/.kitchen/default-centos-71.yml +0 -6
  8. data/test/integration/.kitchen/default-ubuntu-1204.yml +0 -6
  9. data/test/integration/.kitchen/default-ubuntu-1404.yml +0 -6
  10. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  11. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  12. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id +0 -1
  13. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  14. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key +0 -27
  15. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  16. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile +0 -9
  17. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  18. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  19. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +0 -1
  20. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  21. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +0 -27
  22. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  23. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile +0 -9
  24. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  25. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  26. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
  27. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  28. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
  29. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  30. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile +0 -9
  31. data/test/integration/.kitchen/logs/default-centos-511-i386.log +0 -0
  32. data/test/integration/.kitchen/logs/default-centos-511.log +0 -0
  33. data/test/integration/.kitchen/logs/default-centos-67-i386.log +0 -0
  34. data/test/integration/.kitchen/logs/default-centos-67.log +0 -0
  35. data/test/integration/.kitchen/logs/default-centos-71.log +0 -0
  36. data/test/integration/.kitchen/logs/default-debian-6010-i386.log +0 -0
  37. data/test/integration/.kitchen/logs/default-debian-6010.log +0 -0
  38. data/test/integration/.kitchen/logs/default-debian-78-i386.log +0 -0
  39. data/test/integration/.kitchen/logs/default-debian-78.log +0 -0
  40. data/test/integration/.kitchen/logs/default-debian-81-i386.log +0 -0
  41. data/test/integration/.kitchen/logs/default-debian-81.log +0 -0
  42. data/test/integration/.kitchen/logs/default-fedora-21-i386.log +0 -0
  43. data/test/integration/.kitchen/logs/default-fedora-21.log +0 -0
  44. data/test/integration/.kitchen/logs/default-fedora-22.log +0 -0
  45. data/test/integration/.kitchen/logs/default-freebsd-102.log +0 -0
  46. data/test/integration/.kitchen/logs/default-freebsd-93.log +0 -0
  47. data/test/integration/.kitchen/logs/default-opensuse-132-i386.log +0 -0
  48. data/test/integration/.kitchen/logs/default-opensuse-132-x86-64.log +0 -0
  49. data/test/integration/.kitchen/logs/default-ubuntu-1004-i386.log +0 -0
  50. data/test/integration/.kitchen/logs/default-ubuntu-1004.log +0 -0
  51. data/test/integration/.kitchen/logs/default-ubuntu-1204-i386.log +0 -0
  52. data/test/integration/.kitchen/logs/default-ubuntu-1204.log +0 -0
  53. data/test/integration/.kitchen/logs/default-ubuntu-1404-i386.log +0 -0
  54. data/test/integration/.kitchen/logs/default-ubuntu-1404.log +0 -0
  55. data/test/integration/.kitchen/logs/kitchen.log +0 -0
  56. data/test/tools/os.rb +0 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0fd25048f1db2b7fe16bbdfc8cbbf0bc37378a07
4
- data.tar.gz: 1aa813741c5d080c00e74790af38d1fee7b23a9a
3
+ metadata.gz: 9e5d7343b4e769adeff16bd119d877f7439f5cb9
4
+ data.tar.gz: 98d6e8c0187a77fd281ce46ff9e199a734e402c2
5
5
  SHA512:
6
- metadata.gz: 109add699ff0d357e8d930d792434f0787778d5447b34771a879e389e7ff42930251fa29fa0d54a0c04551226992e08a210b41a6d21266bd4b199cc5aaa13ec8
7
- data.tar.gz: 4b564895054b589201d8021ca735c21174350516a97a1c799332ca7b0ee9038b84b7100dd2f2b5545be99331f0282ba57e0eaf46be8c9cf66e8d488f5bc84b3f
6
+ metadata.gz: 587f8e829176455c19d4cb359f4309a87d3b74855548852e77b31421808cd02393a9843913c89095e53271708c5093be51324d5f270379da2ad4038652b9b811
7
+ data.tar.gz: 84121d41300c2c7608d0a3e3640d449cca98e9816e9af7c208ca69364f3035d04b70d12ca5bcb30f6f9db49c4e1d69c2e9eaf08beadaedc1dd93395b28fd480b
data/CHANGELOG.md CHANGED
@@ -1,7 +1,15 @@
1
1
  # Change Log
2
2
 
3
- ## [0.10.0](https://github.com/chef/train/tree/0.10.0) (2016-02-19)
4
- [Full Changelog](https://github.com/chef/train/compare/v0.9.7...0.10.0)
3
+ ## [0.10.0](https://github.com/chef/train/tree/0.10.0) (2016-02-29)
4
+ [Full Changelog](https://github.com/chef/train/compare/v0.10.0...0.10.0)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - fix gem build license warning [\#73](https://github.com/chef/train/pull/73) ([chris-rock](https://github.com/chris-rock))
9
+ - depend on docker-api 1.26.2 [\#72](https://github.com/chef/train/pull/72) ([someara](https://github.com/someara))
10
+
11
+ ## [v0.10.0](https://github.com/chef/train/tree/v0.10.0) (2016-02-19)
12
+ [Full Changelog](https://github.com/chef/train/compare/v0.9.7...v0.10.0)
5
13
 
6
14
  **Implemented enhancements:**
7
15
 
@@ -12,6 +20,10 @@
12
20
 
13
21
  - complete rewrite of windows version detection [\#70](https://github.com/chef/train/pull/70) ([chris-rock](https://github.com/chris-rock))
14
22
 
23
+ **Merged pull requests:**
24
+
25
+ - 0.10.0 [\#71](https://github.com/chef/train/pull/71) ([chris-rock](https://github.com/chris-rock))
26
+
15
27
  ## [v0.9.7](https://github.com/chef/train/tree/v0.9.7) (2016-02-05)
16
28
  [Full Changelog](https://github.com/chef/train/compare/v0.9.6...v0.9.7)
17
29
 
data/lib/train/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '0.10.0'.freeze
6
+ VERSION = '0.10.1'.freeze
7
7
  end
data/train.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'Transport interface to talk to different backends.'
12
12
  spec.description = 'Transport interface to talk to different backends.'
13
13
  spec.homepage = 'https://github.com/chef/train/'
14
- spec.license = 'Apache 2.0'
14
+ spec.license = 'Apache-2.0'
15
15
 
16
16
  spec.files = %w{
17
17
  train.gemspec README.md Rakefile LICENSE Gemfile CHANGELOG.md .rubocop.yml
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency 'net-scp', '~> 1.2'
32
32
  spec.add_dependency 'winrm', '~> 1.6'
33
33
  spec.add_dependency 'winrm-fs', '~> 0.3'
34
- spec.add_dependency 'docker-api', '~> 1.22'
34
+ spec.add_dependency 'docker-api', '~> 1.26.2'
35
35
 
36
36
  spec.add_development_dependency 'mocha', '~> 1.1'
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r-train
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-19 00:00:00.000000000 Z
11
+ date: 2016-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '1.22'
109
+ version: 1.26.2
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '1.22'
116
+ version: 1.26.2
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: mocha
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -171,57 +171,7 @@ files:
171
171
  - lib/train/transports/winrm.rb
172
172
  - lib/train/transports/winrm_connection.rb
173
173
  - lib/train/version.rb
174
- - test/appveyor/windows.rb
175
174
  - test/integration/.kitchen.yml
176
- - test/integration/.kitchen/default-centos-71.yml
177
- - test/integration/.kitchen/default-ubuntu-1204.yml
178
- - test/integration/.kitchen/default-ubuntu-1404.yml
179
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name
180
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid
181
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id
182
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid
183
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key
184
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders
185
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile
186
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
187
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
188
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
189
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
190
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
191
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
192
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
193
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
194
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
195
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
196
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
197
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
198
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
199
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
200
- - test/integration/.kitchen/logs/default-centos-511-i386.log
201
- - test/integration/.kitchen/logs/default-centos-511.log
202
- - test/integration/.kitchen/logs/default-centos-67-i386.log
203
- - test/integration/.kitchen/logs/default-centos-67.log
204
- - test/integration/.kitchen/logs/default-centos-71.log
205
- - test/integration/.kitchen/logs/default-debian-6010-i386.log
206
- - test/integration/.kitchen/logs/default-debian-6010.log
207
- - test/integration/.kitchen/logs/default-debian-78-i386.log
208
- - test/integration/.kitchen/logs/default-debian-78.log
209
- - test/integration/.kitchen/logs/default-debian-81-i386.log
210
- - test/integration/.kitchen/logs/default-debian-81.log
211
- - test/integration/.kitchen/logs/default-fedora-21-i386.log
212
- - test/integration/.kitchen/logs/default-fedora-21.log
213
- - test/integration/.kitchen/logs/default-fedora-22.log
214
- - test/integration/.kitchen/logs/default-freebsd-102.log
215
- - test/integration/.kitchen/logs/default-freebsd-93.log
216
- - test/integration/.kitchen/logs/default-opensuse-132-i386.log
217
- - test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
218
- - test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
219
- - test/integration/.kitchen/logs/default-ubuntu-1004.log
220
- - test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
221
- - test/integration/.kitchen/logs/default-ubuntu-1204.log
222
- - test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
223
- - test/integration/.kitchen/logs/default-ubuntu-1404.log
224
- - test/integration/.kitchen/logs/kitchen.log
225
175
  - test/integration/Berksfile
226
176
  - test/integration/bootstrap.sh
227
177
  - test/integration/chefignore
@@ -247,7 +197,6 @@ files:
247
197
  - test/integration/tests/path_pipe_test.rb
248
198
  - test/integration/tests/path_symlink_test.rb
249
199
  - test/integration/tests/run_command_test.rb
250
- - test/tools/os.rb
251
200
  - test/unit/extras/command_wrapper_test.rb
252
201
  - test/unit/extras/file_common_test.rb
253
202
  - test/unit/extras/linux_file_test.rb
@@ -271,7 +220,7 @@ files:
271
220
  - train.gemspec
272
221
  homepage: https://github.com/chef/train/
273
222
  licenses:
274
- - Apache 2.0
223
+ - Apache-2.0
275
224
  metadata: {}
276
225
  post_install_message:
277
226
  rdoc_options: []
@@ -294,57 +243,7 @@ signing_key:
294
243
  specification_version: 4
295
244
  summary: Transport interface to talk to different backends.
296
245
  test_files:
297
- - test/appveyor/windows.rb
298
246
  - test/integration/.kitchen.yml
299
- - test/integration/.kitchen/default-centos-71.yml
300
- - test/integration/.kitchen/default-ubuntu-1204.yml
301
- - test/integration/.kitchen/default-ubuntu-1404.yml
302
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name
303
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid
304
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id
305
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid
306
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key
307
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders
308
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile
309
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
310
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
311
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
312
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
313
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
314
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
315
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
316
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
317
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
318
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
319
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
320
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
321
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
322
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
323
- - test/integration/.kitchen/logs/default-centos-511-i386.log
324
- - test/integration/.kitchen/logs/default-centos-511.log
325
- - test/integration/.kitchen/logs/default-centos-67-i386.log
326
- - test/integration/.kitchen/logs/default-centos-67.log
327
- - test/integration/.kitchen/logs/default-centos-71.log
328
- - test/integration/.kitchen/logs/default-debian-6010-i386.log
329
- - test/integration/.kitchen/logs/default-debian-6010.log
330
- - test/integration/.kitchen/logs/default-debian-78-i386.log
331
- - test/integration/.kitchen/logs/default-debian-78.log
332
- - test/integration/.kitchen/logs/default-debian-81-i386.log
333
- - test/integration/.kitchen/logs/default-debian-81.log
334
- - test/integration/.kitchen/logs/default-fedora-21-i386.log
335
- - test/integration/.kitchen/logs/default-fedora-21.log
336
- - test/integration/.kitchen/logs/default-fedora-22.log
337
- - test/integration/.kitchen/logs/default-freebsd-102.log
338
- - test/integration/.kitchen/logs/default-freebsd-93.log
339
- - test/integration/.kitchen/logs/default-opensuse-132-i386.log
340
- - test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
341
- - test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
342
- - test/integration/.kitchen/logs/default-ubuntu-1004.log
343
- - test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
344
- - test/integration/.kitchen/logs/default-ubuntu-1204.log
345
- - test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
346
- - test/integration/.kitchen/logs/default-ubuntu-1404.log
347
- - test/integration/.kitchen/logs/kitchen.log
348
247
  - test/integration/Berksfile
349
248
  - test/integration/bootstrap.sh
350
249
  - test/integration/chefignore
@@ -370,7 +269,6 @@ test_files:
370
269
  - test/integration/tests/path_pipe_test.rb
371
270
  - test/integration/tests/path_symlink_test.rb
372
271
  - test/integration/tests/run_command_test.rb
373
- - test/tools/os.rb
374
272
  - test/unit/extras/command_wrapper_test.rb
375
273
  - test/unit/extras/file_common_test.rb
376
274
  - test/unit/extras/linux_file_test.rb
@@ -1,44 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # encoding: utf-8
3
- #
4
- # Author:: Christoph Hartmann (<chris@lollyrock.com>)
5
-
6
- require 'train'
7
- require 'json'
8
-
9
- def get_os(backend)
10
- train = Train.create(backend)
11
-
12
- # start or reuse a connection
13
- conn = train.connection
14
- os = conn.os
15
-
16
- # get OS info
17
- conf = {
18
- name: os[:name],
19
- family: os[:family],
20
- release: os[:release],
21
- arch: os[:arch],
22
- }
23
-
24
- # close the connection
25
- conn.close
26
- conf
27
- end
28
-
29
- def print(data)
30
- puts JSON.dump(data)
31
- end
32
-
33
- # check local
34
- local = get_os('local')
35
- print(local)
36
-
37
- # winrm over http
38
- winrm = get_os('winrm', {
39
- target: ENV['train_target']
40
- password: ENV['winrm_pass']
41
- ssl: ENV['train_ssl']
42
- self_signed: true
43
- }))
44
- print(winrm)
@@ -1,6 +0,0 @@
1
- ---
2
- hostname: 127.0.0.1
3
- port: '2201'
4
- username: vagrant
5
- ssh_key: "/Users/chartmann/Development/compliance/train/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key"
6
- last_action: converge
@@ -1,6 +0,0 @@
1
- ---
2
- hostname: 127.0.0.1
3
- port: '2222'
4
- username: vagrant
5
- ssh_key: "/Users/chartmann/Development/compliance/train/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key"
6
- last_action: create
@@ -1,6 +0,0 @@
1
- ---
2
- hostname: 127.0.0.1
3
- port: '2200'
4
- username: vagrant
5
- ssh_key: "/Users/chartmann/Development/compliance/train/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"
6
- last_action: converge
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEogIBAAKCAQEAumYTkVv571IDXW4ir026jpKFm94CMVxQ43OGs8fA6wtOSKHg
3
- USw8utqH3p0zgTVwwcx3i6BOHXtRKocookuBREqkYTsdywUGulVPeHXQTdumz1t6
4
- l3MeRHA88hNz3D0hfyI8mu4TxidaBw1Nwow/a9jf3Q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QH8exXFWUvFq8ZCdapwbhuHMswX0m5F2dano
21
- 7eE0MDmFXiib2HAMle5TAQKBgDloAtTY6kkBIgxchYSCGrS2pATsioZgIMHHYDR5
22
- 1txFXQeLD3uFUigPWlp1U1RWmTA1BdlcN0xLyLB5dVN4YDrNPHM06kvgzvO7Q+HI
23
- f7x21+AfmlGg6Gi0lbQcOcVdRltntKONMFqjVh0FPexYJC7HckbdVIzsazTTQgxM
24
- QgpZAoGAQayietN3+mVjIAhzxnzFTwkRXT/hgjBm/QwldMVSofQGvTtxV7QkrHRm
25
- 9kV2OjKJDX8Gz3OkCZZnuvkKaM5MZ3f6B35SaKSA1jQteukhhpoOL72Qfu0c5ibp
26
- nkl64DSF7jdZqohOB5PLHZWNVXmKHaFzIkF6bn3RmjVjBaNXH/Y=
27
- -----END RSA PRIVATE KEY-----
@@ -1,9 +0,0 @@
1
- Vagrant.configure("2") do |c|
2
- c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
- c.vm.box = "opscode-centos-7.1"
4
- c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.1_chef-provisionerless.box"
5
- c.vm.hostname = "default-centos-71"
6
- c.vm.synced_folder ".", "/vagrant", disabled: true
7
- c.vm.provider :virtualbox do |p|
8
- end
9
- end
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEowIBAAKCAQEAp5pG5I8LYv4GncA+3KYS/nNbvIIYy4K9mWVi5L3hMit17KTA
3
- PKarWsnmidpGb+RgeolQnsA2dAneWxPV8T3AnXcfdDcBSeV1FlxFl80E5u3LOzvN
4
- AtBn3kW58eapxYg9/mKm2lHlty1/SvQWHgAyzKnwmkU/Z0dYdjSRvgt320jxp6zJ
5
- 2kyMOqvvyAVrdApMH+FPCAg1tQPrwAxyxEXrslUIpi9KzoG+ebzj05P9Q2zW9ME/
6
- pXnx1CrHY1Godzi4xuKwnLexUmY5rMcWEX6xyFUX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ByR1zMTru5PY5MDyaOE65y5GxdyVtnzOTQtaYdhO3K8AWG+2i12nP
23
- kA/Kyl8XDqqPoBbg/L6BaBJCH69RcL0C/Lb5wySsQkTwfJPvx7Iz1NoO57RqKmQq
24
- ZGJVAoGBAICeDP+KuI3ro1bRC703lOfjnlObJ2+VdONMLzqKCWa0V8GhlaMk4BW/
25
- FdGuWKg46lZJ5tCtPBy2xtiih0AoG0Rk3MIVYE4FsBA+dGyNUFjmLx0WMN9rsBV7
26
- g1ZAgtKG9P3lcBzMb+7aeeMaFSLAZ3QUJqbqMGc2gpISkTOzw6PV
27
- -----END RSA PRIVATE KEY-----
@@ -1,9 +0,0 @@
1
- Vagrant.configure("2") do |c|
2
- c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
- c.vm.box = "opscode-ubuntu-12.04"
4
- c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
5
- c.vm.hostname = "default-ubuntu-1204"
6
- c.vm.synced_folder ".", "/vagrant", disabled: true
7
- c.vm.provider :virtualbox do |p|
8
- end
9
- end
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEpQIBAAKCAQEA0/FLAqet4bZSUMB/8RN1861NljVa2WBWUUfr7pWaNl1brGsf
3
- O4RMnqQw64TJjFONJIsb21nDlz2gy3XKqTELcXWl6ah2NGlul+qpoeFqJocIQZiE
4
- g7S8hQZPUWxpYrjQ1CO1HaW76oPbwX/9jP/XwI8MRh1+kb7kJ2n3KQLWcka1k5r5
5
- 5UuZf7DnlH0jLISh0e0hwrV7Y32offHXFJ3tAjp+W6DQngj5jebCcEtKApMaPC+u
6
- I7laGXPQ6kMGF9LVcwpsM0IEh4sakLj3UN4EetxPqj8sShXr/OM2vBzV/3iFIrnC
7
- e+LBCZFLUnykRbZMUXZlBELXyxVDyfCE3NLuYwIDAQABAoIBAQC32kIanICfIzzG
8
- 5iZWZ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pBhtav
24
- TTNdcW0CgYEAio1BDiUvjUjMZo9Ac28EjxvS3qqibilmoHR0J12PZjsIL6UFpuTx
25
- prLRGFX+uyTKzy6v0ohFKYOIKH0mqeKojpZyIvuZMq3QX5g1jAFLzT2cVRCIPGXz
26
- hUqW0K3CO64xnMNORzqUX3xxh+54j/D+nul3H/RIwPBIEAVKA3eqGB4=
27
- -----END RSA PRIVATE KEY-----
@@ -1,9 +0,0 @@
1
- Vagrant.configure("2") do |c|
2
- c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
- c.vm.box = "opscode-ubuntu-14.04"
4
- c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box"
5
- c.vm.hostname = "default-ubuntu-1404"
6
- c.vm.synced_folder ".", "/vagrant", disabled: true
7
- c.vm.provider :virtualbox do |p|
8
- end
9
- end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/test/tools/os.rb DELETED
@@ -1,22 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # encoding: utf-8
3
-
4
- require 'train'
5
-
6
- train = Train.create('local')
7
-
8
- # start or reuse a connection
9
- conn = train.connection
10
- os = conn.os
11
-
12
- # get OS info
13
- conf = {
14
- name: os[:name],
15
- family: os[:family],
16
- release: os[:release],
17
- arch: os[:arch],
18
- }
19
- puts JSON.dump(conf)
20
-
21
- # close the connection
22
- conn.close