Commit graph

6571 commits

Author SHA1 Message Date
Tim Smith
55a8f752f9 Remove deps from the Berksfile that are in the metadata
There's no need for this. Never has been.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:28:16 -08:00
Tim Smith
00176f3487 Don't list out the runit deps in the berksfile
This is literally what berkshelf was built to do for you.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:10:39 -08:00
Tim Smith
58e5be0e8b Use the latest Bento boxes in the vagrant setup
Use current Bento slugs and remove platforms we don't support as a company.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:07:16 -08:00
Tim Smith
b07aed1c73 Use the platform_family? helper
It's much simpler than listing every single possible platform and it makes this actually work on Oracle

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:06:30 -08:00
Tim Smith
ec29727838 Let Chef handle the root_group itself
We have node['root_group'] and Chef will apply this on its own.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:04:53 -08:00
Tim Smith
6c706f0715 Don't use apt/yum in the kitchen configs either
There's really no need for this. It just slows down the run

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:03:53 -08:00
Tim Smith
2f89081f53 Remove direct usage of apt/yum cookbooks in the os_prepare cookbook
We have an apt_update resource now
Yum cookbook was never needed
dnf is now supported on Fedora out of the box

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:02:41 -08:00
Tim Smith
e826eae292 Move the template out of the default directory
This is a Chef 11 thing.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:01:17 -08:00
Tim Smith
4d881b90f3 Note the correct expeditor URL in the config comment
Point to the new docs page.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 15:53:32 -08:00
Tim Smith
95a25e719d Update support platforms in the readme
Long term we should fold this into the docs site and align it with our standard platform support policy, but this is less bad than it was before.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 15:51:26 -08:00
Chef Expeditor
8843e93819
Bump version to 3.6.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-13 18:56:39 +00:00
Clinton Wolfe
c174f884f5
Merge pull request #3796 from inspec/cw/attrs-rename-testfiles
Attributes-Inputs Rename: Move test files
2019-02-13 13:56:19 -05:00
Chef Expeditor
e3ff1dd301
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-12 04:03:37 +00:00
Chef Expeditor
274b176435
Bump version to 3.6.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-12 03:26:36 +00:00
Clinton Wolfe
0f11fa2907
Merge pull request #3809 from inspec/cw/updates-to-contributing
Update CONTRIBUTING for CI
2019-02-11 22:26:19 -05:00
Clinton Wolfe
cf39fe8fa1 Minor tweaks to CONTRIBUTING to clarify
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-11 22:17:09 -05:00
Clinton Wolfe
0225bb7db8
Merge pull request #3807 from inspec/tduffield/only-subscribe-to-release-branch
Subscribe only to artifacts for release branch
2019-02-11 22:09:28 -05:00
Tom Duffield
6a1a3ff926 Subscribe only to artifacts for release branch
We do not want to take actions on 'master' (Inspec 3) when Inspec 1 and
Inspec 2 changes are made.

Signed-off-by: Tom Duffield <tom@chef.io>
2019-02-11 17:12:24 -06:00
Chef Expeditor
c882fa927b
Bump version to 3.6.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-11 20:27:04 +00:00
Clinton Wolfe
aa767e4b3f
Merge pull request #3806 from inspec/cw/add-logger-to-train-options
Add logger to train generic options
2019-02-11 15:26:48 -05:00
Clinton Wolfe
9cc46c8a8a Add logger to train generic options
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-11 14:24:33 -05:00
Clinton Wolfe
66d0d146b2 Rename test control files
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-11 12:10:08 -05: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
Chef Expeditor
4ad2c64f21
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 23:27:03 +00:00
Clinton Wolfe
785888a209 Rename functional tests, unit tests, and test fixtures
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-08 18:23:01 -05:00
Chef Expeditor
9eed984015
Bump version to 3.6.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 22:49:10 +00:00
Clinton Wolfe
ab183e0858
Merge pull request #3793 from inspec/cw/config-cache-read
inspec detect: Fix for --config trying to read from STDIN twice
2019-02-08 17:48:54 -05:00
Chef Expeditor
88d7ea852c
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 22:17:53 +00:00
Clinton Wolfe
a6f289f1b2 Cache reads from STDIN
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-08 14:16:56 -05:00
Clinton Wolfe
fd3c3df8c1 Add failing functional tests for more piped config subcommands
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-08 13:18:08 -05:00
Chef Expeditor
5c02be2c3d
Bump version to 3.6.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 01:58:50 +00:00
Clinton Wolfe
9cb870b636
Merge pull request #3789 from inspec/cw/add-release-2-to-expeditor
Add the 2.x branch to expeditor
2019-02-07 20:58:31 -05:00
Clinton Wolfe
d58e841f3d Add the 2.x branch to expeditor
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-07 20:51:24 -05:00
Chef Expeditor
d6f64a3936
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-07 23:03:12 +00:00
Chef Expeditor
d5dcb46085
Bump version to 3.6.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-07 22:22:21 +00:00
Clinton Wolfe
7fcffd2ddd
Merge pull request #3785 from inspec/ja/fix-inspec-backend
inspec-habitat: create mock backend properly
2019-02-07 17:09:52 -05:00
Jerry Aldrich
273597d371 Remove encoding: utf-8
Thanks @miah

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-07 13:04:58 -08:00
Jerry Aldrich
7134989eba Respond to @clintoncwolfe's feedback
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-07 11:15:01 -08:00
Jerry Aldrich
a6f74a33b2 Fix Inspec::Config regression in Inspec::Backend
With the changes in PR #3750, `Inspec::Backend.create` needs to support
both being passed a Hash and being passed an Inspec::Config. This adds
a line to convert a passed Hash to an Inspec::Config.

This also adds unit tests for Inspec::Backend because they were missing.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-07 01:00:05 -08:00
Chef Expeditor
9d7ca85e7d
Bump version to 3.6.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-07 02:53:32 +00:00
Clinton Wolfe
594ae3c423
Merge pull request #3784 from inspec/cw/attrs-consolidate-tests
Consolidate attribute-related test-fixture profiles
2019-02-06 21:53:13 -05:00
Clinton Wolfe
4cf9e23e9d Move most test fixture profiles under attributes/
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 18:10:19 -05:00
Chef Expeditor
eca5f74154
Bump version to 3.6.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-06 22:43:19 +00:00
Clinton Wolfe
05a011f6ff
Merge pull request #3629 from inspec/cw/init-plugin
inspec-init plugin: generate inspec plugins
2019-02-06 17:40:59 -05:00
Chef Expeditor
5bed99fe36
Bump version to 3.5.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-06 22:40:26 +00:00
Clinton Wolfe
48711fa7bb
Merge pull request #3778 from inspec/team/filesystem-free-percent
filesystem: Add free_kb, size_kb, type, and percent_free properties
2019-02-06 17:40:10 -05:00
Clinton Wolfe
2b836a35c1
Merge pull request #3781 from EmFl/patch-2
package: Correct contradictory docs examples
2019-02-06 14:22:30 -05:00
Clinton Wolfe
dd3d3cbd2f Add deprecation hook for size()
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 14:02:17 -05:00
Clinton Wolfe
02cb799ee6 Rename free to free_kb
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 14:01:04 -05:00
Clinton Wolfe
5bbd4c16d6 Add size_kb, and correct Powershell code to return KB for both total size and free space, rather than total in GB and free space in bytes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 14:01:04 -05:00