Commit graph

6992 commits

Author SHA1 Message Date
Ryan Davis
1266a65f28 Moved the osx? guard below minitest/autorun.
I didn't hit this because I use `minitest` to run my tests, not `m`.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-09 16:16:26 -07:00
Chef Expeditor
13c410a19d
Update CHANGELOG.md with details from pull request #4379
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-09 20:49:28 +00:00
Ryan Davis
d095b29f4a
Merge pull request #4379 from shaunyap/master
change announcement to LCR Road Trip
2019-08-09 13:49:16 -07:00
Shaun Yap
d1bea994db change announcement to LCR Road Trip
Signed-off-by: Shaun Yap <sy@Shauns-MacBook-Pro.local>
2019-08-09 13:45:05 -07:00
Chef Expeditor
15d41f994f
Update CHANGELOG.md with details from pull request #4380
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 22:28:24 +00:00
Miah Johnson
6396f25b0d
Merge pull request #4380 from inspec/zenspider/oops
I didn't get the BK setup right, nor did the verification check this.
2019-08-08 15:28:09 -07:00
Ryan Davis
e41aa4657f I didn't get the BK setup right, nor did the verification check this.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-08 15:26:04 -07:00
Chef Expeditor
bce0fbe177
Bump version to 4.11.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 22:06:17 +00:00
Clinton Wolfe
d8d68fe7ea
README: Add platform detail to support info in runtime list (#4375)
README: Add platform detail to support info in runtime list
2019-08-08 18:06:02 -04:00
David Gasper
ee2806a342 Fix RuboCop issues
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 14:32:19 -07:00
Clinton Wolfe
8f407e2387 Add platform detail to support info
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-08-08 17:28:34 -04:00
David Gasper
3912fef458 Add path example to docs
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 14:22:39 -07:00
David Gasper
45556a0fdb Update docs
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 14:18:49 -07:00
Clinton Wolfe
25f9c1c845
Fix Docker builds (#4373)
Fix Docker builds
2019-08-08 16:58:10 -04:00
David Gasper
52ae5e434b Add docs and unit tests, remove .travis.yml
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:54:35 -07:00
David Gasper
4079f289fd Test TravisCI
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:54:35 -07:00
David Gasper
6ba210d82d Add automatic path resolution
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:54:22 -07:00
David Gasper
098610f128 Add Postfix_conf resource
Signed-off-by: David Gasper <dmgasper@osuosl.org>
2019-08-08 13:50:12 -07:00
Chef Expeditor
3981110da5
Bump version to 4.11.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 17:13:42 +00:00
Clinton Wolfe
02fafa9bed
Merge pull request #4360 from kclinden/patch-1
Fixed typo in umask example
2019-08-08 13:13:27 -04:00
Chef Expeditor
34153dedd2
Update CHANGELOG.md with details from pull request #4374
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 16:55:56 +00:00
Miah Johnson
dc4f879dd5
Merge pull request #4374 from inspec/schisamo/remove-suse-11
Stop building Chef InSpec on SLES 11
2019-08-08 09:55:43 -07:00
Chef Expeditor
ffba747523
Bump version to 4.11.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 15:56:10 +00:00
Clinton Wolfe
95e6bcb317
Modified DarwinGroup to collect all users properly. (#4343)
group resource: Modified DarwinGroup to collect all users properly on macos
2019-08-08 11:55:48 -04:00
Chef Expeditor
8fad74d4a2
Bump version to 4.11.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 15:32:53 +00:00
Clinton Wolfe
c28dd8f9ec
Add startuser windows service (#4363)
Add startuser windows service
2019-08-08 11:32:39 -04:00
Chef Expeditor
7ab39ba273
Bump version to 4.10.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 15:16:21 +00:00
Clinton Wolfe
04935995f5
Fixed syntax errors in wmi doco. (#4370)
Fixed syntax errors in wmi doco.
2019-08-08 11:16:07 -04:00
Seth Chisamore
5c7bf13e5f
Stop building Chef InSpec on SLES 11
As of March 31st 2019, SLES 11 is no longer generally supported. Per our
support process we will no longer officially support SLES 11.

See https://docs.chef.io/platforms.html#platform-end-of-life-policy

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-08-08 10:57:10 -04:00
Tom Duffield
378b1d15d5
Fix the Dockerfile updating script
Normally the latest stable version would be hardcoded into the
Dockerfile, but the update_version.sh script was not updated to use
the new `EXPEDITOR_` prefixed environment variable. This fixes the
script and the Dockerfile.

Signed-off-by: Tom Duffield <tom@chef.io>
2019-08-08 09:12:24 -05:00
Tom Duffield
16bd5fd0ac
Update Dockerfile to pull version from correct Expeditor variable
Expeditor now prefixes all environment variables and build args with
`EXPEDITOR_`. This commit updates the Dockerfile in a backwards
compatible fashion to respect both VERSION and EXPEDITOR_VERSION build
arguments.

Signed-off-by: Tom Duffield <tom@chef.io>
2019-08-08 09:12:10 -05:00
Ryan Davis
374e365c02 Modified DarwinGroup to collect all users properly.
I noticed that my profile targeting group "staff" on OSX wasn't
returning *me*. I'm awesome! So that seemed wrong. And it turns out it
is wrong. We were not collecting any users whose primary group was
that group. (almost all regular users are in group staff and they're
all missing).

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-07 20:27:13 -07:00
Chef Expeditor
90fb536bf7
Bump version to 4.10.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 03:17:56 +00:00
Ryan Davis
8a117b5ef7
Merge pull request #4351 from inspec/zenspider/licensing
Remove timebombs on skip_until and licensing tests.
2019-08-07 20:17:42 -07:00
Chef Expeditor
1d84b37d37
Update CHANGELOG.md with details from pull request #4369
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-08 02:39:34 +00:00
Ryan Davis
8bece23658
Merge pull request #4369 from inspec/zenspider/retry
Add a retry to expeditor defaults, per shain's advice.
2019-08-07 19:39:25 -07:00
Chef Expeditor
a6dd013ec2
Bump version to 4.10.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-07 20:29:26 +00:00
Ryan Davis
32585a3a79
Merge pull request #4361 from AmazeCom/fix-4327
Move some resources into Inspec::Resources module
2019-08-07 13:29:11 -07:00
Ryan Davis
d5f63691d9 Fixed syntax errors in wmi doco.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-07 13:01:43 -07:00
Ryan Davis
6f8d5c095d Add a retry to expeditor defaults, per shain's advice.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-07 11:21:42 -07:00
Chef Expeditor
bbfffd39ab
Update CHANGELOG.md with details from pull request #4348
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-07 17:27:41 +00:00
Miah Johnson
a105c063ee
Merge pull request #4348 from inspec/mj/bk-onlyif
Only bump versions when we modify InSpec.
2019-08-07 10:27:27 -07:00
Mendy Baitelman
4d990865a1 Add to mock_loader
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 19:44:02 -07:00
Mendy Baitelman
988357aad1 Fix tests
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 18:58:03 -07:00
Ryan Davis
d295455df6 Fix license functional tests when run on buildkite.
BK currently runs our tests on ruby:X.Y-stretch docker images, which
use root. This puts license files it /etc/chef instead of the current
user's home and broke our tests.

This adds cleanup to /etc/chef AND checks both locations, so it should
continue to work even if we switch to docker images with non-root users.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-06 15:50:01 -07:00
Mendy Baitelman
e3b641f676 Fix whitespace
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 15:11:15 -07:00
Ryan Davis
55f2747ee1 Remove timebombs from 2 functional license tests.
These were put in place because they pass locally and fail on
buildkite. We didn't care at the time, but now we should investigate.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-06 15:02:37 -07:00
Mendy Baitelman
4505471ec7 Fix differences
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 13:26:37 -07:00
Mendy Baitelman
126b1efc74 Add startuser to windows service
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 13:20:57 -07:00
Kris Shannon
4a30a8aa32 Move some resources into Inspec::Resources module
The `DhParams`, `EtcHosts`, `GrubConfig`, `IisAppPool`, and `SSL`
resources were not properly located inside the `Inspec::Resources`
module.

Fixes: #4327

Signed-off-by: Kris Shannon <k.shannon@amaze.com.au>
2019-08-05 18:17:01 +10:00