train-core 1.4.21 → 1.4.22

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
  SHA256:
3
- metadata.gz: 5ebe4fad85a0eb196191f8a84a3e5410baa100f6456c2f04e142a1c4353c7019
4
- data.tar.gz: c4fc3f3b23c89097b8987c2173570652908ef5fb305e5660304ad4ba619bfcb8
3
+ metadata.gz: 3d80db1736b414a85cf42d4bc110b5d965aaac720cdf31863b7a2b8a458f10f5
4
+ data.tar.gz: b512e8f7429d94b33a8fae759623289578ddc68d00292e995c62b61c91a28a48
5
5
  SHA512:
6
- metadata.gz: 25e78c05e283a185d79cecc059e23a63b260fcb93d77dead402c479f4260cc34c3279e44dd1593425a8477dfc41c4d6233b30b738195cc48feda3b30a2bae4f3
7
- data.tar.gz: 8ade939a0b6a271ef5e12580aaa768ff76feea65c1198b9a5d4b6ee8d2f87f7be458ecb10d8934d6fcafd84e8c38082c518f3cbcdce63f9b16f32e0acf7c15e1
6
+ metadata.gz: ccfed37b9467489b33b1b3d4bb82d769cb5d18b448ca53fba8c38a366ecdc35ee074fe43f967bf2a6c529ef78fd0229a5098c82d991de46ff8ab8f44443a6693
7
+ data.tar.gz: 8680dbdfa0da2f7490681f2f48924106e3f35680591cb8d28f4db7346aaecc928b0d97f8931807c6864773b8c9adc3b90f9f51454fa14cc403d45fa22ba82036
data/CHANGELOG.md CHANGED
@@ -1,19 +1,25 @@
1
- <!-- latest_release 1.4.21 -->
2
- ## [v1.4.21](https://github.com/inspec/train/tree/v1.4.21) (2018-07-05)
1
+ <!-- latest_release 1.4.22 -->
2
+ ## [v1.4.22](https://github.com/inspec/train/tree/v1.4.22) (2018-07-12)
3
3
 
4
4
  #### Merged Pull Requests
5
- - Modify `WindowsPipeRunner` stderr to use String [#320](https://github.com/inspec/train/pull/320) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
5
+ - Add VMware transport [#321](https://github.com/inspec/train/pull/321) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
6
6
  <!-- latest_release -->
7
7
 
8
- <!-- release_rollup since=1.4.19 -->
9
- ### Changes since 1.4.19 release
8
+ <!-- release_rollup since=1.4.21 -->
9
+ ### Changes since 1.4.21 release
10
10
 
11
11
  #### Merged Pull Requests
12
- - Modify `WindowsPipeRunner` stderr to use String [#320](https://github.com/inspec/train/pull/320) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 1.4.21 -->
13
- - Remove the delivery cookbook [#317](https://github.com/inspec/train/pull/317) ([tas50](https://github.com/tas50)) <!-- 1.4.20 -->
12
+ - Add VMware transport [#321](https://github.com/inspec/train/pull/321) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 1.4.22 -->
14
13
  <!-- release_rollup -->
15
14
 
16
15
  <!-- latest_stable_release -->
16
+ ## [v1.4.21](https://github.com/inspec/train/tree/v1.4.21) (2018-07-05)
17
+
18
+ #### Merged Pull Requests
19
+ - Remove the delivery cookbook [#317](https://github.com/inspec/train/pull/317) ([tas50](https://github.com/tas50))
20
+ - Modify `WindowsPipeRunner` stderr to use String [#320](https://github.com/inspec/train/pull/320) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
21
+ <!-- latest_stable_release -->
22
+
17
23
  ## [v1.4.19](https://github.com/inspec/train/tree/v1.4.19) (2018-06-29)
18
24
 
19
25
  #### Merged Pull Requests
@@ -21,7 +27,6 @@
21
27
  - Adding proper bastion support [#310](https://github.com/inspec/train/pull/310) ([frezbo](https://github.com/frezbo))
22
28
  - Remove github_changelog_generator [#313](https://github.com/inspec/train/pull/313) ([tas50](https://github.com/tas50))
23
29
  - Remove the deploy config from Travis [#315](https://github.com/inspec/train/pull/315) ([tas50](https://github.com/tas50))
24
- <!-- latest_stable_release -->
25
30
 
26
31
  ## [v1.4.15](https://github.com/inspec/train/tree/v1.4.15) (2018-06-14)
27
32
 
data/README.md CHANGED
@@ -22,6 +22,7 @@ Train supports:
22
22
  * Mock (for testing and debugging)
23
23
  * AWS as an API
24
24
  * Azure as an API
25
+ * VMware via PowerCLI
25
26
 
26
27
  # Examples
27
28
 
@@ -79,6 +80,20 @@ require 'train'
79
80
  train = Train.create('aws')
80
81
  ```
81
82
 
83
+ **VMware**
84
+
85
+ ```ruby
86
+ require 'train'
87
+ Train.create('vmware', viserver: '10.0.0.10', user: 'demouser', password: 'securepassword')
88
+ ```
89
+
90
+ You may also use environment variables by setting `VISERVER`, `VISERVER__USERNAME`, and `VISERVER_PASSWORD`
91
+
92
+ ```ruby
93
+ require 'train'
94
+ Train.create('vmware')
95
+ ```
96
+
82
97
  ## Configuration
83
98
 
84
99
  To get a list of available options for a plugin:
@@ -151,7 +166,7 @@ bundle exec ruby -I .\test\windows\ .\test\windows\local_test.rb
151
166
 
152
167
  Train is heavily based on the work of:
153
168
 
154
- * [test-kitchen](https://github.com/test-kitchen/test-kitchen)
169
+ * [test-kitchen](https://github.com/test-kitchen/test-kitchen)
155
170
 
156
171
  by [Fletcher Nichol](fnichol@nichol.ca)
157
172
  and [a great community of contributors](https://github.com/test-kitchen/test-kitchen/graphs/contributors)
@@ -11,6 +11,8 @@ module Train::Platforms::Detect::Specifications
11
11
  plat.name('aws').in_family('cloud')
12
12
  plat.name('azure').in_family('cloud')
13
13
  plat.name('gcp').in_family('cloud')
14
+ plat.name('vmware').in_family('cloud')
15
+
14
16
  plat.family('iaas').in_family('api')
15
17
  plat.name('oneview').in_family('iaas')
16
18
  end
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 = '1.4.21'.freeze
6
+ VERSION = '1.4.22'.freeze
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: train-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.21
4
+ version: 1.4.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-05 00:00:00.000000000 Z
11
+ date: 2018-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout