Commit graph

10007 commits

Author SHA1 Message Date
Clinton Wolfe
84e25c2dbe Issue warning for inspec archive when profiles contain gem deps
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Vasu1105
9e15ebac1a CFINSPEC-13: Added option --auto-install-gems to work with both inspec exec and inspec check command.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
30f44b0462 CFINSPEC-13: Resolved the Unable to resolve gem dependency error on linux, Adds code to handle the loading of gems in the inspec check and fixed the test.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
4a4fea3055 CFINSPEC-13: Adds docs for the support of profile gem_dependencies.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
9a561bce54 CFINSPEC-13: Adds code to handle all kinds of version constraint and improved installed gem search logic for the version constraint.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
b3f4c9c70a CFINSPEC-13 Added check so that the adding gem to vendor set block will get called on Windows. Renamed the metadata file parameter name to provide gem dependencies.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
dbdc1223c4 CFINSPEC-13: Adds venendor gem in the managed gem set which partially fix the issue of resolving dependecies on Windows.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
fa1d08c792 Updated the default version string.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
8048ea2949 Removed the unwanted file
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
b1ce116ebb CFINSPEC-13: Adds the support to load the gem dependencies from dependent profiles.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
e3ef2cb912 CFINSPEC-13: Adds the ability to install and load the gem depedencies specified in the metadata file of profile/resource pack.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Chef Expeditor
c5ac267ab4 Bump version to 5.4.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 05:34:14 +00:00
Clinton Wolfe
631ecd0b59
Merge pull request #5901 from inspec/revert-5875-nm/base_resource_id
CFINSPEC-70 Revert - Added resource_id attribute for the custom resources in the base class
2022-03-04 00:32:57 -05:00
Clinton Wolfe
302bccf732
Revert "CFINSPEC-70 Added resource_id attribute for the custom resources in the base class" 2022-03-03 23:48:32 -05:00
Chef Expeditor
f769b7019d Bump version to 5.4.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 18:55:37 +00:00
Clinton Wolfe
cfa3a17f2e
Merge pull request #5880 from inspec/ss/resource-ipfilter
CFINSPEC-66 : Add Ipfilter resource
2022-03-03 13:54:16 -05:00
Clinton Wolfe
b741af8c32 Only mention bsd in doc properties block
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-03 13:39:24 -05:00
Sonu Saha
f4f70f55ed CFINSPEC-66 : Add condition to skip ipfilter resource for darwin instead of failure
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:38:22 -05:00
Sonu Saha
7c0ff452b1 CFINSPEC-66 : Add ipfilter to resources.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:38:22 -05:00
Deepa Kumaraswamy
76a4546594 review edits
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-03 13:37:35 -05:00
Sonu Saha
a854374b66 CFINSPEC-66 : Correct supports platform for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:35 -05:00
Sonu Saha
ccdfcd0445 CFINSPEC-66 : Add unit test for unsupported os:ipfilter resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:35 -05:00
Sonu Saha
da875f7083 CFINSPEC-66 : Fix to_s method for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:35 -05:00
Sonu Saha
d07773f742 CFINSPEC-66 : Fix variable name for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Sonu Saha
f0a15b52f7 CFINSPEC-66 : Modify ipfilter.md for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Sonu Saha
f4efe5d0c3 CFINSPEC-66 : Fix RuboCop lint for ipfilter.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Sonu Saha
750bfe8145 CFINSPEC-66 : Modify doc for ipfilter resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Sonu Saha
7c874e67df CFINSPEC-66 : Add Ipfilter resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Chef Expeditor
136a805c1e Bump version to 5.3.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 18:31:27 +00:00
Clinton Wolfe
6eb7d1ae00
Merge pull request #5883 from inspec/ss/resource-ipnat
CFINSPEC-77 : Add Ipnat resource
2022-03-03 13:30:07 -05:00
Clinton Wolfe
ef6ecaf17b Make ipnat doc indicate bsd section only
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-03 13:20:29 -05:00
Clinton Wolfe
deecdf7287 Add bsd to resource index
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-03 13:16:29 -05:00
Sonu Saha
f7bff9b1b5 CFINSPEC-77 : Add condition to skip ipnat resource for darwin instead of failure
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
832cb3582b CFINSPEC-77 : Add ipnat to resources.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Deepa Kumaraswamy
5b4b313dd7 review edits
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
36f6206424 CFINSPEC-77 : Correct supports platform for ipnat
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
7b2d076899 CFINSPEC-77 : Add Ipnat resource-cleanup
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
dbfb5418fc CFINSPEC-77 : Fix RuboCop lint for ipnat.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
437abc866c CFINSPEC-77 : Add ipnat resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Chef Expeditor
96832435ae Bump version to 5.2.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 17:33:29 +00:00
Clinton Wolfe
c4879316ef
Merge pull request #5875 from inspec/nm/base_resource_id
CFINSPEC-70 Added resource_id attribute for the custom resources in the base class
2022-03-03 12:32:09 -05:00
Nikita Mathur
bb410b812c resource_id key added in json-automate/json reporter and exec-json schema
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:30:14 -05:00
Clinton Wolfe
89a075b3f5 Docs edits
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-03 12:26:13 -05:00
Nikita Mathur
607d765d16 Subtle fix in resource_id definition and documentation updated
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:26:13 -05:00
Nikita Mathur
1e292900bd Resource id method changed to instance method and documentation added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:26:13 -05:00
Nikita Mathur
8b8b4db2b2 Resource id attribute added for the resources in the base class
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:26:13 -05:00
Chef Expeditor
f9914628dc Bump version to 5.1.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 16:36:54 +00:00
Clinton Wolfe
5923970cf9
Merge pull request #5898 from inspec/cw/disable-resource-tests
Disable resource integration tests
2022-03-03 11:34:05 -05:00
Clinton Wolfe
76d14188f1 Disable resource integration tests, which always fail
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-03 11:31:55 -05:00
Chef Expeditor
808e90d38a Bump version to 5.1.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 15:04:45 +00:00