Commit graph

2151 commits

Author SHA1 Message Date
Clinton Wolfe
442c89d45e
Merge pull request #5523 from kannanr/master
Support zfs_pool and zfs_dataset resources on Linux. Handled #5075
2021-05-16 16:56:07 -04:00
Kannan Ramakrishnan
d1831a318c Lint errors handled. Signed-off-by: @kannanr <kannaa.ram@gmail.com> 2021-05-15 17:48:19 +05:30
Vasu1105
0d83a44f44 Fix the lint and failing test for windows_feature resource
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-15 16:56:53 +05:30
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
Clinton Wolfe
02e8e9cc9c Ran chefstyle -a
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-09 23:59:04 -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
Clinton Wolfe
78eea839f3
Merge pull request #5500 from inspec/cw/remove-coverage
Remove coverage testing
2021-05-05 12:12:30 -04: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
06fcd26bee Conditionalize IPv6 support
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 20:18:31 -04:00
Clinton Wolfe
2c0cd30f25 Exclude fedora from installing iptables, as it causes a conflict
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 22:00:38 -04:00
Clinton Wolfe
f5c8f67c2b Do not build inspec gem locally or install in os_prepare
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
d9d021a861 Update versions of dokken images used and get most of them working; oraclelinux 8 is not working
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
55732b848a Do not use audit cookbook for resource testing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Nikita Mathur
7693363a1a Fix for default null values compatible for both windows and non-windows system
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-28 22:27:30 +05:30
Nikita Mathur
457e544724 Fix for non-existent member for group resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-28 22:26:33 +05:30
Clinton Wolfe
0fa00ed252
Merge pull request #5479 from inspec/nm/groups-members-fix
Added new property `members_array` for group & groups resources.
2021-04-28 12:33:02 -04:00
Vasu1105
57c1484150 Adds one more profile inside the require_controls_test to check inheritance
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-27 19:29:13 +05:30
Nikita Mathur
b70f3166d4 New property members_array added for group and groups resources and updated documentation
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-23 13:48:29 +05:30
Vasu1105
a09fb159d3 Fix lintstyle
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-22 12:53:08 +05:30
Vasu1105
76dca7f97c Adds policy property, unit test and documentation for modules and booleans
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-22 11:40:32 +05:30
Clinton Wolfe
79aa03ae14
Merge pull request #5466 from inspec/nm/inputs-regex
New input option `pattern` added for DSL and metadata inputs
2021-04-21 19:34:07 -04:00
Nikita Mathur
ea6760c2c0 Undid changes of required validation to fix build errors
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Nikita Mathur
e77d5331c5 Added new pattern option, fix for input options on dsl and functional test cases for input options
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Vasu1105
58e30cfa81 Review comments fixed
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:03 +05:30
Vasu1105
bd9d81314d Integrated review comments
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
Vasu1105
c963b2ac14 fix linting
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
Vasu1105
cbe7e8c03f Add selinux resource with basic features support
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
Clinton Wolfe
b3e367da57 Remove default of 3600 seconds for command timeout
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-20 13:32:33 -04:00
Clinton Wolfe
e673b332a3
Merge pull request #5465 from inspec/cw/source-in-reporter
Optionally include controls source code in CLI reporter
2021-04-20 13:24:15 -04:00
Clinton Wolfe
1056b84326 Add functional test for --reporter-include-source
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-15 16:16:12 -04:00
Nikita Mathur
8d22d0a360 Code linting issue fixed
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-08 16:04:09 +05:30
Nikita Mathur
5865cdd1c4 Added input and input file option for shell, along with functional test cases
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-08 13:54:12 +05:30
Clinton Wolfe
fa41586910
Merge pull request #5446 from inspec/nm/fix-input-hash-access
Bug fix for loading hashmap inputs consistently
2021-04-07 08:49:53 -04:00
Nikita Mathur
82e126726b Improvements in hashmap profiles
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-07 16:09:27 +05:30
Nikita Mathur
094293b01d Refactored logic to enable hash indifference in all input types
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-05 16:10:55 +05:30
Nikita Mathur
ec30fc3d4e Hash with indifference changes for inputs used via runner api
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-05 14:41:35 +05:30
Nikita Mathur
a55b083b0a Improvements in various descriptions and a better way to check for hash type
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-31 12:35:13 +05:30
Nikita Mathur
c0b213c46a Bug fix for loading hashmap inputs consistently from external and metadata file
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-31 11:42:54 +05:30
Clinton Wolfe
dfb7f64ba6 Explicitly force default timeout in tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 22:13:11 -04:00
Clinton Wolfe
8df0fb0814 Functional tests for command resource timeout
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
Vasu1105
edf8d4d7ed Skipping on windows
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 21:04:46 +05:30
Vasu1105
a0d669a0f0 Updated test so that can run in the test enviornment
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 19:15:50 +05:30
Vasu1105
7c25a2b5df Updated test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:23 +05:30
Vasu1105
9af59c2164 Fixes #5369 the FilterTable::ExceptionCatcher error and now shows exact exception message
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:23 +05:30
Vasu1105
0a62a6ac3b Added functional test for FilterTable::ExceptionCatcher
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:22 +05:30
Vasu1105
45e9288e90 Revert "Profile to test the FilterTable::ExceptionCatcher issue"
This reverts commit 33e096f0854c0f156130fe610ab3ab8f8b65cad4.
2021-03-25 15:50:22 +05:30
Vasu1105
805cf46848 Profile to test the FilterTable::ExceptionCatcher issue
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:22 +05:30
Nikita Mathur
628d1561f9 Unnecessary white spaces removed from git fetcher testing files
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-23 16:42:52 +05:30
Nikita Mathur
d9bb2649e6 Code refactoring changes for fix #5233
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-23 16:20:47 +05:30