Commit graph

5402 commits

Author SHA1 Message Date
Chef Expeditor
f632882a9e
Bump version to 3.0.46 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 20:55:29 +00:00
Jerry Aldrich
6ba4aaf630 Add Git SSH and HTTP basic auth support to inspec exec (#3562)
* Add support for `git@` and HTTP basic auth

This adds support for the following:

```
inspec exec git@github.com:private/example_profile
inspec exec https://username:token@github.com/private/example_profile
inspec exec https://username:password@webserver/private/example_profile
```

This also uses the Git fetcher when the URL ends in `.git`. Example:

```
git config credential.helper cache
git ls-remote https://github.com/private/example_profile.git
inspec exec https://github.com/private/example_profile.git
```

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Add documentation for `inspec exec` usage

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Add tests for Git fetcher and `inspec exec`

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Add `opts` to branch of Git fetcher resolve logic

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Modify Git example comments

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Force `parse_uri` to attempt a parse

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-11-08 15:55:15 -05:00
Chef Expeditor
167a876705
Bump version to 3.0.45 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:58:37 +00:00
Chef Expeditor
b5c8aa1d47
Bump version to 3.0.44 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:55:42 +00:00
Chef Expeditor
529cdbafc3
Bump version to 3.0.43 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:52:47 +00:00
Clinton Wolfe
b12aa82361 port: Correctly detect FreeBSD (#3579)
* Fixing #3563; freebsd is not a substring of 'bsd'
* Actually, this is better.
* Change coditional for FreeBSD from a string match to a call to os.bsd?

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-11-08 13:51:45 -05:00
Chef Expeditor
9d4510451e
Bump version to 3.0.42 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:49:29 +00:00
Chef Expeditor
a04f017f11
Bump version to 3.0.41 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:46:36 +00:00
Chef Expeditor
53dce69a15
Bump version to 3.0.40 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:43:41 +00:00
mrshanahan
cebe044a68 Update iis_site bindingInformation construction and add tests. (#3490) (#3492)
Signed-off-by: Matt Shanahan <mrshanahan11235@gmail.com>
2018-11-08 13:42:59 -05:00
Chef Expeditor
23b40887b4
Bump version to 3.0.39 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:09:57 +00:00
Chef Expeditor
80dcde835e
Bump version to 3.0.38 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:07:02 +00:00
Chef Expeditor
9d5b4a3c95
Bump version to 3.0.37 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:04:06 +00:00
Chef Expeditor
9c61517bb8
Bump version to 3.0.36 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 18:01:05 +00:00
Chef Expeditor
1fa6d6375d
Bump version to 3.0.35 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 17:58:08 +00:00
Chef Expeditor
624cb1ac07
Bump version to 3.0.34 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 17:55:14 +00:00
Chef Expeditor
678fff677a
Bump version to 3.0.33 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 17:52:22 +00:00
Chef Expeditor
c6d5a3e10c
Bump version to 3.0.32 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 17:49:27 +00:00
Rachel Rice
de5b332feb Allow add_test to accept negation (#3586)
* Allow add_test to accept negation
This will allow for negated tests to be generated with add_tests.
* Fix rubocop violation
* Add optional options hash

Signed-off-by: Rachel Rice <rrice@chef.io>
2018-11-08 12:48:12 -05:00
Mark Hughes
45926ef63a Added xml resource support for ints, bools, and string responses (#3583)
Methods like…

* `count()` return `Integer` values
* `boolean()` return `TrueClass`/`FalseClass` values
* `concat()` return `String` values

…but threw exceptions because those types weren't supported.

This adds support to the `xml` resource, and adds tests to verify some of those examples.

Signed-off-by: Mark Hughes <greenantdotcom@users.noreply.github.com>
2018-11-08 12:47:18 -05:00
Chef Expeditor
061c29519e
Bump version to 3.0.31 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-08 17:46:31 +00:00
James Stocks
5da1180780 Add only_if to Inspec objects (#3577)
* Add only_if attr to Inspec::test
* Add only_if attr to Inspec::Control

Signed-off-by: James Stocks <jstocks@chef.io>
2018-11-08 12:46:19 -05:00
Jared Quick
d33d189d93
Create appvayor workers for Windows functional tests. (#3397)
* Add more windows functional tests and create some appvayor workers.
* Fix uuid test for automate

Signed-off-by: Jared Quick <jquick@chef.io>
2018-11-08 12:00:14 -05:00
Kimberly Garmoe
6859d766df Fix line wrapping on homebrew button on downloads page (#3589)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-11-07 19:50:07 -05:00
Chef Expeditor
399ee938f3
Bump version to 3.0.30 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-07 20:40:18 +00:00
David McCown
3ab956845c Fixes broken link in documentation (#3588)
Signed-off-by: David McCown <dmccown@chef.io>
2018-11-07 15:40:07 -05:00
Chef Expeditor
c6701832e7
Bump version to 3.0.29 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-07 19:00:01 +00:00
Clinton Wolfe
7c611a4c24 Silence RSpec 'should' Warning (#3560)
* Failing functional test for RSpec should deprecation
* Configure RSpec to allow .should calls
* Remove cruft from test files where we needed to filter deprecation warning

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-11-07 13:59:48 -05:00
Kimberly Garmoe
12d4b22ffd Makes whole brew command visible (#3584)
* Makes whole brew command visible
* replaces shadow & margin

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-11-07 13:22:40 -05:00
Chef Expeditor
6f8c0245c8
Bump version to 3.0.28 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-05 15:03:51 +00:00
Ksenia
c07ec59070 Add 17 hexadecimal characters support aws_vpc (#3518) (#3564)
aws_vpc: accept 17 hexadecimal characters for vpc_id 

Signed-off-by kchistova <kchistova@gmail.com>
2018-11-05 10:01:16 -05:00
Chef Expeditor
f976796ba9
Bump version to 3.0.27 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-05 14:59:14 +00:00
David Alexander
83d382c965 Fixes (some) ruby warnings related to functional tests (#3561)
* Fixes (some) ruby warnings related to functional tests
* Removes unneeded `Dir.tmpdir` from test

Signed-off-by: David Alexander <opensource@thelonelyghost.com>
2018-11-05 09:59:01 -05:00
David Grizzanti
d8c90df4df Doc typo fix (#3551)
Signed-off-by: Dave Grizzanti <david_grizzanti@comcast.com>
2018-11-05 09:11:23 -05:00
Chef Expeditor
640dadfd7a
Bump version to 3.0.26 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-02 16:53:09 +00:00
Jared Quick
0fc83871a1
Fix functional tests. (#3572)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-11-02 12:52:54 -04:00
Chef Expeditor
1ac865388a
Executed
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 23:07:01 +00:00
Chef Expeditor
aaed2487ac
Bump version to 3.0.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 22:06:19 +00:00
Jared Quick
7cc8f8eaa8
bump version (#3569)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-11-01 18:06:05 -04:00
Chef Expeditor
8c0f15dfb2
Bump version to 3.0.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 21:06:58 +00:00
Chef Expeditor
f9e530dc67
Bump version to 3.0.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 21:04:56 +00:00
Chef Expeditor
52a431c19e
Bump version to 3.0.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 20:55:22 +00:00
Chef Expeditor
970680dac7
Bump version to 3.0.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 20:52:23 +00:00
Chef Expeditor
d51168ab97
Bump version to 3.0.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 20:50:46 +00:00
Chef Expeditor
89e716c265
Bump version to 3.0.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 20:32:57 +00:00
Jerry Aldrich
701dd9fb0b Change usage of Dir.home to Inspec.config_dir (#3567)
This prevents errors on systems without `ENV['HOME']` (e.g. Habitat
services) by allowing the specification of the location of `.inspec` via
`ENV['INSPEC_CONFIG_DIR']`.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-11-01 16:32:45 -04:00
Chef Expeditor
10e5292e27
Bump version to 3.0.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-11-01 20:23:49 +00: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
Nell Shamrell-Harrington
9faf638ff7 documents inspec habitat profile setup command (#3559)
* documents inspec habitat profile setup command
* fixes link and typo

Signed-off-by: Nell Shamrell <nellshamrell@gmail.com>
2018-11-01 13:47:23 -04:00
Jerry Aldrich
4a6f5f719a Fix rendering and other issues in the Style Guide (#3539)
* Fix rendering and other issues in the Style Guide
* Use backticks for technical literals
* Correct RubyGems spelling
* Clarify plugin installation instructions
* Clean up Avoid/Use style

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-11-01 13:07:02 -04:00