Commit graph

7055 commits

Author SHA1 Message Date
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
Kasey Linden
34275b8c11
Fixed typo in umask example
changed login_def to login_defs
2019-08-04 11:08:19 -05:00
Jeremiah Snapp
38bb5bbaf5
Merge pull request #4358 from inspec/snappj/add-artifactory-to-omnibus-gemfile
[ci] Add artifactory to omnibus/Gemfile
2019-08-02 17:49:47 -04:00
Jeremiah Snapp
d9e0f8cb15 Add artifactory to omnibus/Gemfile
The artifactory gem is required for the publish part of
the build stage.

Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-08-02 17:27:01 -04:00
Chef Expeditor
f536a39079
Update CHANGELOG.md to reflect the promotion of 4.10.4
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-01 20:31:28 +00:00
Chef Expeditor
723d53e6b1
Bump version to 4.10.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-01 00:16:47 +00:00
Ryan Davis
3f6e04cbf0
Merge pull request #4352 from inspec/zenspider/bump-licensing
Bump skipped license tests by 2 weeks.
2019-07-31 17:16:33 -07:00
Ryan Davis
b570e0cc74 Bump skipped license tests until 8/16.
I've got this under debug in docker but this is a problem on the
license_acceptance gem on BK, not with inspec. And it is blocking a
release, so I'm bumping this out 2 weeks.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-31 16:44:49 -07:00
Ryan Davis
99638d8de9 Remove timebomb on skip_until.
It has been valuable and should push up to minitest.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-31 12:24:57 -07:00
Miah Johnson
758ac81269 Only bump versions when we modify InSpec.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-31 10:55:33 -07:00
Chef Expeditor
4aa1ef81f3
Bump version to 4.10.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 23:45:06 +00:00
kekaichinose
9afb7856df
Merge pull request #4345 from inspec/ki/update-license-doco
changed legal refs to point to chef.io proper
2019-07-30 16:44:49 -07:00
Chef Expeditor
1045f67a76
Bump version to 4.10.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 22:08:14 +00:00
Miah Johnson
833a965f0d
Merge pull request #4347 from inspec/mj/bk-badge2
point badge to master
2019-07-30 15:07:59 -07:00
Miah Johnson
802918f569 point badge to master 2019-07-30 15:02:42 -07:00
Chef Expeditor
66f709875d
Bump version to 4.10.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 21:46:48 +00:00
Miah Johnson
1b3bfe2597
Merge pull request #4346 from inspec/mj/bk-integ
Add integration pipelines, and a schedule (it does nothing)
2019-07-30 14:46:28 -07:00
Miah Johnson
9163476dee Add integration pipelines, and a schedule (it does nothing)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 14:37:40 -07:00
Keka Ichinose
5a39574423 changed legal refs to point to chef.io proper
Signed-off-by: Keka Ichinose <rikoomi@hotmail.com>
2019-07-30 12:39:56 -07:00
Chef Expeditor
ae898b9eb3
Bump version to 4.10.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 18:38:10 +00:00
Clinton Wolfe
100e96db1c
Relative Path Support for the Git Fetcher (#4217)
Relative Path Support for the Git Fetcher
2019-07-30 14:37:54 -04:00
Chef Expeditor
fbf06ccc7d
Bump version to 4.9.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 18:37:23 +00:00
Clinton Wolfe
80d5788883
Apply new UI code to CLI and plugin-manager-cli (#4000)
Apply new UI code to CLI and plugin-manager-cli
2019-07-30 14:37:09 -04:00
Chef Expeditor
718629e42a
Bump version to 4.9.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 17:58:52 +00:00
Clinton Wolfe
b8c9043a3a
Permit plugin to be in path with git ref (#4251)
Permit plugin to be in path with git ref
2019-07-30 13:58:37 -04:00
Clinton Wolfe
780a1670ac Loosen method line count to 40
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:49:35 -04:00
Clinton Wolfe
88898ce7a9 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:42:24 -04:00
Clinton Wolfe
f00e741999 PR feedback
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
c03862fe7b Code climate updates
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
abc5e84b87 Fix two tiresome cache issues with simple fixes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
1a47026419 Rename some vars, eliminate @profile_directory
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
4f6d296a22 The error case in which the path does not exist
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
860d21a370 Test for ./
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
31bedf7b37 Empty-string edge case
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
fab58b590e Combo relative test in place
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
e9ef8e25a3 Deep dependency works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
80241ec971 Passing basic test harness
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
c257763de6 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00