Commit graph

17 commits

Author SHA1 Message Date
Keith Walters
c2bd0616fe Allow http resource to follow redirects
By specifying a `max_redirects` attribute, the `http` resource worker
will follow any HTTP Redirect response (301, 302, etc...) up to the
limit defined by this attribute. For a local worker, exceeding that
limit will raise a `FaradayMiddleware::RedirectLimitReached` exception.
For a remote worker, the curl command will exit without populating the
`status` and `body` properties.

Signed-off-by: Keith Walters <keith.walters@cattywamp.us>
2019-03-16 20:54:52 -04:00
Jerry Aldrich
8b93292f3f Add term-ansicolor to inspec-core gem
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-10 19:59:37 -08:00
Clinton Wolfe
5282baf9ce Relax pin on train in inspec-core
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:44:42 -05:00
Clinton Wolfe
304a1b9873 Temporarily pin train to 1.7.1
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-31 22:24:18 -05:00
Noel Georgi
f1fbd518e5 Expose additional WinRM options for transport, basic auth, and SSPI (#3669)
Signed-off-by: Noel Georgi <git@frezbo.com>
2018-12-20 11:57:53 -05:00
Clinton Wolfe
c0a46cf841
UI Object for for CLI work (#3618)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-12-12 11:44:16 -05:00
Tim Smith
e4ce25b8a1 Adjust files included in gems to improve appbundler support (#3663)
Signed-off-by: Tim Smith <tsmith@chef.io>
2018-12-12 11:23:19 -05:00
Jared
79bf71d9e8 Pin train to 1.5.11 (#3657)
Signed-off-by: Jared Ledvina <jared@techsmix.net>
2018-12-11 09:00:24 -05:00
Jared Quick
f990b78b48
Pin to train 1.5.6 (#3568)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-11-01 16:23:37 -04:00
Jared Quick
8432cd73c4
Pin inspec to the new train. (#3531)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-18 16:37:56 -04:00
Jared Quick
f7551b3de3
Fix plugin issues on omni builds (#3499)
* Fix plugin issues on omni builds
* Fix gemspec to include etc dir.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-11 23:25:01 -04:00
Clinton Wolfe
857b9bb11c Plugins: Support for Train Plugins in InSpec (#3444)
* Unit tests passing for loading Train plugins
* detect works with a train test fixture
* Update fixture install of train-fixture-plugin
* Add functional tests for detect and shell when talking to a train plugin backend
* Update docs to reflect availability of Train plugins
* Functional test for install train plugin from path
* Working install train plugin from path, more tests for installing from odd locations
* PR Feedback

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-09-27 18:46:35 -04:00
Jared Quick
927720998c
Add platforms schema command (#3346)
* Add platforms schema command.
* Add functional test.
* Update tests with sorted export.
* Bump train version.
* Fix syntax in tests.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 15:36:17 -04:00
Christoph Hartmann
df9036f6e4 inspec compliance: use multipart upload to support upload on windows (#3369)
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-09-07 14:25:31 -04:00
Tom Qiang Wu
aa44c24b07 bump inspec/train version (#3331)
Obvious fix.
2018-08-28 15:53:13 -04:00
Jared Quick
d44eb67672
Bump train version for inspec. (#3147)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-06-14 15:26:00 -04:00
Miah Johnson
67bbbb6ecf Split inspec into a core gem. (#3008)
* Split inspec into a core gem.
* Include inspec-core.gemspec, not inspec.gemspec.
* Only load aws and azure when the gems are installed.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-05-03 10:30:01 -04:00