Commit graph

9280 commits

Author SHA1 Message Date
Kannan Ramakrishnan
19c624cf38 Support zfs_pool and zfs_dataset resources on Linux. Handled #5075. Signed-off-by: @kannanr <kannaa.ram@gmail.com> 2021-05-15 12:18:39 +05:30
Chef Expeditor
43c9caa7e9 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-12 21:38:40 +00:00
Vasu1105
79ea90c137 Update control-eval readme docs
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-12 12:11:52 +05:30
Ian Maddaus
45356ca088 Docs editing
Signed-off-by: Ian Maddaus <Ian.Maddaus@progress.com>
2021-05-10 14:48:43 -07:00
Chef Expeditor
54763c61d7 Bump version to 4.37.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:56:05 +00:00
Clinton Wolfe
24b0f8bf01
Merge pull request #5499 from inspec/cw/update-readme
Remove outdated instructions about testing AWS and Azure resources
2021-05-10 16:54:09 -04:00
Chef Expeditor
b90ed7b7a3 Bump version to 4.37.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:53:43 +00:00
Clinton Wolfe
e49fa72836
Merge pull request #5506 from jwdean/master
Modified windows_feature to indicate enabled rather than just available
2021-05-10 16:52:26 -04:00
Chef Expeditor
86e14edb7f Bump version to 4.37.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:50:28 +00:00
Clinton Wolfe
c52c60dea8
Merge pull request #5507 from inspec/im/netlify
Update Hugo and correct how build previews are generated
2021-05-10 16:48:14 -04:00
Chef Expeditor
bd687439a3 Bump version to 4.37.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:47:58 +00:00
Clinton Wolfe
af14795d22
Merge pull request #5508 from inspec/dependabot/bundler/chefstyle-tw-2.0.3
Update chefstyle requirement from ~> 1.7.1 to ~> 2.0.3
2021-05-10 16:46:39 -04:00
Chef Expeditor
c6b9f2438a Bump version to 4.37.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:44:12 +00:00
Clinton Wolfe
2bf2913a6c
Merge pull request #5504 from inspec/cw/document-reporter-opts
Document auxiliary reporter options on the reporter docs page
2021-05-10 16:42:55 -04:00
Chef Expeditor
fa56c4587b Bump version to 4.37.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:41:32 +00:00
Clinton Wolfe
26c4ad243b
Merge pull request #5509 from inspec/nm/automate-login-verify
Fixed `automate login` fake feedback on failure
2021-05-10 16:40:16 -04:00
Chef Expeditor
be47bcbc20 Bump version to 4.37.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:36:48 +00:00
Clinton Wolfe
9511c1aaeb
Merge pull request #5510 from inspec/nm/http-utf8
HTTP resource response body coerced into UTF-8
2021-05-10 16:35:24 -04:00
Chef Expeditor
0fe9c02da9 Bump version to 4.37.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:25:33 +00:00
Clinton Wolfe
655c30ee76
Merge pull request #5518 from gscho/update-bond-docs
Update `bond0` example to use params properly
2021-05-10 16:24:14 -04:00
gscho
cccac97be6 Update example to use params properly
Signed-off-by: gscho <greg.c.schofield@gmail.com>
2021-05-10 09:16:38 -04:00
Nikita Mathur
174a358355 Body content of http resourece - enforced utf-8
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-10 13:05:44 +05:30
Nikita Mathur
a23dd75ae7 Better test name for automate login invalid token
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-10 13:04:34 +05:30
Nikita Mathur
ca4cc26319 Automate login to validate token before storing configurations
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-10 13:04:34 +05:30
Vasu1105
136dfab760 Update control eval docs
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-10 11:27:26 +05:30
Clinton Wolfe
02e8e9cc9c Ran chefstyle -a
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-09 23:59:04 -04:00
dependabot[bot]
f44a909687 Update chefstyle requirement from ~> 1.7.1 to ~> 2.0.3
Updates the requirements on [chefstyle](https://github.com/chef/chefstyle) to permit the latest version.
- [Release notes](https://github.com/chef/chefstyle/releases)
- [Changelog](https://github.com/chef/chefstyle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chef/chefstyle/compare/v1.7.1...v2.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 23:51:14 -04:00
Clinton Wolfe
401df56e71
Merge pull request #5511 from inspec/automate-alias-build-fix
Build fix for error raised after release of `inspec automate` alias feature
2021-05-09 23:40:02 -04:00
Clinton Wolfe
91c7568231 Add basic docs for toml resource
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-09 22:12:53 -04:00
Nikita Mathur
fe2ec54d31 Build fix for error that occured after automate alias release
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-07 16:42:19 +05:30
Ian Maddaus
3b0ba2857b Convert headings to definition lists
Signed-off-by: Ian Maddaus <Ian.Maddaus@progress.com>
2021-05-06 16:36:50 -07:00
Ian Maddaus
d1b84bda74 Update Hugo and correct how build previews are generated
Signed-off-by: Ian Maddaus <Ian.Maddaus@progress.com>
2021-05-05 16:08:00 -07:00
Chef Expeditor
a60083b8ba Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-05 20:31:11 +00:00
Chef Expeditor
76926c6c27 Bump version to 4.37.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-05 16:16:59 +00:00
Clinton Wolfe
e7cc5e94f2
Merge pull request #5490 from inspec/nm/inspec-automate
Added alias command `automate` for `inspec compliance`
2021-05-05 12:14:30 -04:00
Chef Expeditor
04e5f456eb Bump version to 4.36.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-05 16:14:07 +00:00
Clinton Wolfe
78eea839f3
Merge pull request #5500 from inspec/cw/remove-coverage
Remove coverage testing
2021-05-05 12:12:30 -04:00
Chef Expeditor
8b59d942aa Bump version to 4.36.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-05 16:11:07 +00:00
Clinton Wolfe
82bfc9f90f
Merge pull request #5502 from inspec/vasundhara/fix_windows_firwall_rule_resource
Fix : windows_firewall_rule fails to validate more than 1 rule depending on how it's executed
2021-05-05 12:09:28 -04:00
Nikita Mathur
39680e7926 Chef automate product name changes in messages
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-05 17:57:31 +05:30
Clinton Wolfe
f7ad4e6407 Document auxiliary reporter options on the reporter docs page
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-04 22:12:08 -04:00
jwdean
6bcef24cbc Modified windows_feature to indicate enabled rather than just available
There are three conditions a windows feature may be in as represented by DISM:

1. Available in the OS and enabled
       dism returns 0 and dism output of state = 'Enabled'
2. Available in the OS but disabled
       dism returns 0 and dism output of state != 'Enabled'
3. Not available  
       dism returns != 0 

This change, in effect, modifies the meaning of installed == true to represent that the feature is both available and enabled. 
installed == false will now indicate the feature is either unavailable or disabled.
The prior implementation indicated the feature was available, but did not recognize the it might be disabled. The most logical use for an InSpec evaluation of a Windows Feature seems to be determining if the feature is enabled or disabled rather than simply available. This updated implementation better represents that goal. 

----------

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the
    best of my knowledge, is covered under an appropriate open
    source license and I have the right under that license to
    submit that work with modifications, whether created in whole
    or in part by me, under the same open source license (unless
    I am permitted to submit under a different license), as
    Indicated in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including
    all personal information I submit with it, including my
    sign-off) is maintained indefinitely and may be redistributed
    consistent with this project or the open source license(s)
    involved.

Signed-off-by: Jeff Dean <jwdean@scriptpro.com>
2021-05-04 15:05:52 -05:00
Tom Duffield
e2dc3d3cdc
Merge pull request #5481 from inspec/tduffield/remove-install-logic
Remove pipeline-specific logic from test scripts
2021-05-04 10:36:13 -05:00
Nikita Mathur
6d140b89b6 Review changes related to inspec compliance to be treated as backward compatible alias
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-04 19:04:54 +05:30
Vasu1105
95656f97da Remove TypeData command was causing error when its called in the same session which was resulting into windows_firewall_rule was not working correctly locally when we have more than one describe block for windows_firewall_rule resource
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-04 09:22:19 +00:00
Chef Expeditor
f479aa644c Bump version to 4.36.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-04 01:05:00 +00:00
Clinton Wolfe
1e2b0e79c1
Merge pull request #5487 from inspec/vasundhara/fix_depedent_control_errors
Fix  undefined method `+' for nil:NilClass\n\nProfile: - when using profile dependencies and require_controls
2021-05-03 21:03:27 -04:00
Clinton Wolfe
c61e70b75b Remove unused coveralls hooks from test helper
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 20:58:48 -04:00
Clinton Wolfe
6b4a55aa35 Remove coverage testing from CI
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 20:58:48 -04:00
Chef Expeditor
c07513ebe9 Bump version to 4.36.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-04 00:55:03 +00:00