Commit graph

25 commits

Author SHA1 Message Date
David Marshall
874ee77791 add test for when run is not specified in waiver
The existing documentation explicitly claims that not specifying “run” in a waiver is equivalent to specifying “run: false.” It turns out to be the case that the claim is completely false. This commit includes a test for a new control 18_waivered_no_expiry_default_run that behaves exactly like the control 04_waivered_no_expiry_ran_fails. That is, not specifying run in a waiver is the same as specifying “run: true.”

Signed-off-by: David Marshall <dmarshall@gmail.com>
2020-12-28 16:26:19 -08:00
Tim Smith
d2afc7c2f7 Replace DK with Workstation in docs
DK goes full EOL 12/31/2020

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-16 16:08:54 -08:00
Clinton Wolfe
f5466687cc
parse_config - accept array notation to handle dots 2020-12-15 16:53:34 -05:00
IanMadd
a9a41240b6 Clean up docs previews
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-12-10 18:53:19 -08:00
mjingle
70ccecba90 Apply suggestions from the doc review
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:40:51 +01:00
Raphael Geissert
53a49aac64 Add missing options section to the parse_config documentation
Obvious fix, the section was missing. Complete it with an example
from parse_config_file.
2020-12-08 10:40:51 +01:00
Raphael Geissert
d76a5d4345 Move the options documentation under the correct section
Obvious fix, the options are not related to the matchers.
2020-12-08 10:40:51 +01:00
Raphael Geissert
4872ddb780 Accept arrays in parse_config's method_missing
A single-element array allows Rspec's its behaviour to be worked around
and allow options containing dots to be tested using its.

This is already implemented by resources such as `json` and those based
on it (e.g. xml).

Related to issue #875.

Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:40:51 +01:00
superyarick
eb44673c37 Addressed comments under PR Review
Signed-off-by: superyarick <yarick@yarick.net>
2020-12-01 18:25:10 -05:00
superyarick
c653ce343a added platform-name wildcard support
added unit test for platform-name wildcard
added doc for release wildcard
added doc for platform-name wildcard

Signed-off-by: superyarick <yarick@yarick.net>
2020-11-08 15:24:43 -05:00
Konrad Schieban
1158e51dac replace deprecated attributes section with inputs
Signed-off-by: Konrad Schieban <kschieban@google.com>
2020-11-02 11:47:04 -05:00
Pete Higgins
e11031351b Fix links on plugins docs page.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
2020-10-22 16:53:15 -07:00
IanMadd
1fca289f85 Update Hugo version to 0.76.4
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-10-13 14:31:06 -07:00
Nick Schwaderer
19992035e9
Merge pull request #5269 from unixengineer/master
Added another example to illustrate use for only_if
2020-10-13 08:48:18 +01:00
Ramprasad Prabhakar
1136972fd4 Added another example to illustrate use for only_if
Signed-off-by: Ramprasad Prabhakar <unixengineer@gmail.com>
2020-10-02 16:43:43 -07:00
unixengineer
40a64ad0cd
Update dsl_inspec.md 2020-09-29 13:25:09 -07:00
IanMadd
651b95183e Fix Edit on GitHub links
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-29 09:27:10 -07:00
Clinton Wolfe
b3f72f5854 Implement a corrected junit2 reporter that can be validated
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
IanMadd
6a592a6db2 Update various readmes and docs
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 14:09:23 -07:00
IanMadd
5b3e16aa63 PR #5211
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 13:53:49 -07:00
IanMadd
4715770693 PR #5054
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 13:53:49 -07:00
IanMadd
b03d3f54f8 PR #5040
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 13:53:49 -07:00
IanMadd
18af8bbfb1 PR #4979
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 13:53:49 -07:00
IanMadd
322f262d57 PR #5171
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 13:53:49 -07:00
IanMadd
08a8b9e509 Move docs from www to docs-chef-io
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 13:53:40 -07:00