Commit graph

4952 commits

Author SHA1 Message Date
Clinton Wolfe
0ce80fbc71 Stylin
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-11 14:49:44 -05:00
Clinton Wolfe
79b644d095 Fix some bugs found in lazy_instance implementation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-11 14:49:44 -05:00
Sathish
3ac0eb5ba2 assume lazy caller always resonds to resource instance
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 14:49:44 -05:00
Sathish
cdc4ad113a execute lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 14:48:33 -05:00
Sathish
a81100d833 execute filter table for populate lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 14:48:33 -05:00
Sathish
5f19c31364 populate lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 14:48:33 -05:00
Sathish
e1458b644a find lazy instance callbacks
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 14:48:33 -05:00
Sathish
a6afeb9cde find lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 14:48:33 -05:00
Chef Expeditor
ae569dd5c2 Bump version to 4.56.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-11 16:16:50 +00:00
Will Dower
513b743ce6 add
Signed-off-by: Will Dower <wdower@mitre.org>
2022-03-10 15:48:54 -05:00
Will Dower
eb2a1c2c7f wip on adding custom matchers to the resource
Signed-off-by: Will Dower <wdower@mitre.org>
2022-03-10 15:47:22 -05:00
Daniel Tingstrom
ebea7f9771 Fix boolean methods to include a '?'
Signed-off-by: Daniel Tingstrom <dtingstrom@mitre.org>
2022-03-10 15:45:12 -05:00
Daniel Tingstrom
5637f27a34 Fix boolean function declarations/references to include a '?'
Signed-off-by: Daniel Tingstrom <dtingstrom@mitre.org>
2022-03-10 15:45:12 -05:00
Daniel Tingstrom
3b1c85076c Update firewalld resource to include more properties
Signed-off-by: Daniel Tingstrom <dtingstrom@mitre.org>
2022-03-10 15:45:12 -05:00
Chef Expeditor
aa15b9eb24 Bump version to 4.56.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 20:31:43 +00:00
Vasu1105
e291f09bc1 CFINSPEC-68 Fix test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 14:27:08 -05:00
Vasu1105
1c740adfd4 CFINSPEC-68 Adds target_id in the reporter under platform data.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 14:26:44 -05:00
Chef Expeditor
36148b1864 Bump version to 4.56.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 00:44:46 +00:00
Chef Expeditor
b37e5fe7fd Bump version to 4.56.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-09 17:52:26 +00:00
Chef Expeditor
3425e81446 Bump version to 4.56.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 22:10:55 +00:00
Chef Expeditor
2f177dfa53 Bump version to 4.56.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 16:43:00 +00:00
Chef Expeditor
a1f1530e7c Bump version to 4.56.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 15:12:52 +00:00
Nikita Mathur
ad5945b19c Buildkite fixes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 10:08:36 -05:00
Nikita Mathur
058dd3fd31 Automate version command fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 10:07:37 -05:00
Chef Expeditor
0225459352 Bump version to 4.56.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 14:00:00 +00:00
Chef Expeditor
aeb0304d79 Bump version to 4.56.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-28 02:43:27 +00:00
Clinton Wolfe
d2c17adca0
Merge pull request #5887 from inspec/cw/backport-5884
Backport 5884 to inspec-4, --no-diff fix
2022-02-27 21:41:57 -05:00
Chef Expeditor
25aba9d9a9 Bump version to 4.56.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-28 02:02:26 +00:00
Will Dower
b7690b8140 removed pry statement
Signed-off-by: Will Dower <wdower@mitre.org>
2022-02-27 19:52:22 -05:00
Will Dower
d44b0c54bd fixed bug in --no-diff behavior
Signed-off-by: Will Dower <wdower@mitre.org>
2022-02-27 19:52:09 -05:00
Chef Expeditor
4c312e8b9a Bump version to 4.56.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-24 15:58:04 +00:00
Chef Expeditor
f6fcdc35d7 Bump version to 4.56.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-22 18:34:09 +00:00
Chef Expeditor
e5a194dd86 Bump version to 4.56.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-11 14:39:43 +00:00
Chef Expeditor
4da2fc0d10 Bump version to 4.56.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 09:38:01 +00:00
Chef Expeditor
bafa65c453 Bump version to 4.56.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 09:23:55 +00:00
Clinton Wolfe
a9960f9b81
Merge pull request #5829 from inspec/nm/streaming-reporters
CFINSPEC-9 Added support for streaming reporters
2022-02-09 04:19:39 -05:00
Chef Expeditor
6cccdf9687 Bump version to 4.56.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 09:11:48 +00:00
Clinton Wolfe
6d04576331
Merge pull request #5828 from inspec/vasundhara/fix_sestatus_command_for_amazon_linux
CFINSPEC-30 Fix sestatus command not found error on Amazon Linux 2
2022-02-09 04:10:31 -05:00
Chef Expeditor
e82a4270cc Bump version to 4.56.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 08:54:37 +00:00
Chef Expeditor
fc0c534e80 Bump version to 4.55.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 08:52:18 +00:00
Clinton Wolfe
c065e923c3
Merge pull request #5782 from inspec/nm/kernel-params
CFINSPEC-3 Added kernel_parameters resource
2022-02-09 03:52:01 -05:00
Nikita Mathur
006f68beb9 Comment cleanup in streaming reporter implementation class
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-08 19:21:16 +05:30
Vasu1105
0d7f2c11fd Updated the condition to only verify the amazon linux os.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-08 14:04:22 +05:30
Nikita Mathur
edddb92f76 Basic test case added for streaming reporter plugin type
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-04 17:28:09 +05:30
Clinton Wolfe
062172dde9 Add a streming reporter plugin type, with a silly example
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-03 11:34:53 -05:00
Clinton Wolfe
88733fc100 Untested bootstrapping of streaming reporter plugin, which does not exist yet
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-03 10:39:29 -05:00
Vasu1105
c989e512ca Fixes CFINSPEC-30: Fix for sestatus command not found error on Amazon Linux 2
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-02 14:46:48 +05:30
Chef Expeditor
bc6e62aa4d Bump version to 4.55.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-01 21:13:10 +00:00
Clinton Wolfe
cd4f0b59a0
Merge pull request #5816 from inspec/vasundhara/allow-core-resource-inheritance
CFINSPEC-15 Allows inheritance of core resource into the custom resource.
2022-02-01 16:11:44 -05:00
Chef Expeditor
8fdce7c2ea Bump version to 4.55.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-01 20:55:54 +00:00
Chef Expeditor
1918681d93 Bump version to 4.55.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-01 20:53:22 +00:00
Vasu1105
d8798eca83 add custom resource in the registry at the reloading of dsl
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-31 19:10:27 +05:30
Nikita Mathur
ec35c6042a Fix to capture non indented grub conf values
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-24 19:19:43 +05:30
Chef Expeditor
4cf83b2995 Bump version to 4.55.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-21 13:34:04 +00:00
Chef Expeditor
7470362b61 Bump version to 4.55.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-21 13:31:29 +00:00
Chef Expeditor
8d165bd015 Bump version to 4.55.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:10:18 +00:00
Clinton Wolfe
34f4ffa19f
Merge pull request #5777 from inspec/nm/ip-table-rule
IP Table resource: Added option to ignore rule comments
2022-01-20 10:08:29 -05:00
Chef Expeditor
b80621594c Bump version to 4.55.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:07:44 +00:00
Clinton Wolfe
004b9a10e3
Merge pull request #5799 from inspec/nm/insecure-dependent
Fix for dependent profiles to run with --insecure
2022-01-20 10:05:24 -05:00
Chef Expeditor
be54e9e6e8 Bump version to 4.55.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:05:04 +00:00
Chef Expeditor
652845b10d Bump version to 4.55.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:02:24 +00:00
Clinton Wolfe
7c5d41c91d
Merge pull request #5797 from inspec/nm/pkg-version-fix
Latest package version fetching regex fix - Package resource
2022-01-20 10:00:51 -05:00
Chef Expeditor
0e8c71ec0c Bump version to 4.55.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 14:55:52 +00:00
Clinton Wolfe
19fb98f00f
Merge pull request #5775 from inspec/vasundhara/add_new_property_file_resource
Adds user_permissions property and be_inherited matcher to the file resource for Windows.
2022-01-20 09:54:20 -05:00
Chef Expeditor
7fc38281b0 Bump version to 4.54.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 14:53:15 +00:00
Nikita Mathur
7c76555b32 Fix to pass insecure flag to dependent profiles using runner conf
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-17 18:42:33 +05:30
Nikita Mathur
9b6637fe73 Package version fetch regex fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-12 18:08:13 +05:30
Vasu1105
56c388f099 Renamed the matcher to be_inherited.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
96249f24af Renamed users_permissions to user_permissions and added docs.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
4bfef5281f Renamed the file_permissions property to users_permission
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
53ef84c8dd Adds property file_permissions and be_inherit matcher to the file resource for Windows.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
bc9cdc1219 Renamed the matcher to be_inherited.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:25:45 +05:30
Vasu1105
084bf70392 Adds user_permissions property to list user or group permissions on registry key and adds be_inherit matcher to check whether inheritance is enabled on the registry key
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:25:44 +05:30
Chef Expeditor
01bc7afc7a Bump version to 4.53.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:46:58 +00:00
Clinton Wolfe
3664b0c47d
Merge pull request #5758 from inspec/nm/timezone-resource
Added Timezone Resource
2022-01-09 20:45:15 -05:00
Chef Expeditor
830f57785a Bump version to 4.52.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:30:41 +00:00
Clinton Wolfe
97c4002e82
Merge pull request #5771 from inspec/nm/package-latest
Check for latest - package resource
2022-01-09 20:28:55 -05:00
Chef Expeditor
1f3aab9ee1 Bump version to 4.52.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:26:53 +00:00
Clinton Wolfe
07c8036efb
Merge pull request #5776 from inspec/nm/msssql-newlines-fields-fix
Mssql session fix : Parsing multiline results
2022-01-09 20:25:07 -05:00
Chef Expeditor
d4ccbb80b9 Bump version to 4.52.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:21:25 +00:00
Chef Expeditor
ec4fd3584e Bump version to 4.52.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:18:29 +00:00
Chef Expeditor
bf40836295 Bump version to 4.52.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:15:15 +00:00
Chef Expeditor
5b308c2a7d Bump version to 4.52.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:12:17 +00:00
Clinton Wolfe
2bedb1a669
Merge pull request #5783 from inspec/eol_ruby25
Remove support for EOL Ruby 2.5
2022-01-09 20:12:00 -05:00
Chef Expeditor
c77469592a Bump version to 4.52.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:04:21 +00:00
Vasu1105
ee9b167fb0 Adds esx platform support for bash resource
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-05 20:08:32 +05:30
Nikita Mathur
1956744fd6 Class name fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-04 14:29:12 +05:30
Tim Smith
48ff852289 Remove support for EOL Ruby 2.5
With the release of Ruby 3.1, Ruby 2.5 is now EOL. We should not be supporting an EOL release of Ruby.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-12-31 22:54:53 -05:00
Nikita Mathur
4b9692c6fd Added kernel parameters resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-31 14:57:57 +05:30
Chef Expeditor
69e07bf93b Bump version to 4.52.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-29 00:35:39 +00:00
Nikita Mathur
13b8eceff8 Ip tables ignore rules comments option added for the resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-27 18:19:08 +05:30
Nikita Mathur
5a3c73b521 Fix for parsing faulty multiline results
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-24 16:41:53 +05:30
Nikita Mathur
b0794c2262 Latest package info test cases for resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-21 16:40:58 +05:30
Nikita Mathur
ff2f7f4b7b Matcher be_latest added for package resource and documentation
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-20 18:07:23 +05:30
Chef Expeditor
b3d7bfa0cc Bump version to 4.52.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-20 02:31:49 +00:00
Vasu1105
13fa3e930d Raises error for Connection error.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-17 16:28:10 +05:30
Vasu1105
b4ccc15121 Adds tls1.3 support in ssl resource.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-17 16:28:10 +05:30
Chef Expeditor
81a4516890 Bump version to 4.52.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-16 14:28:32 +00:00
Clinton Wolfe
d05140adbf
Merge pull request #5759 from inspec/vasundhara/add-option-for-ssh-config-file
Add option to set ssh config file path for ssh transport
2021-12-14 07:54:31 -05:00
Chef Expeditor
9d0689adca Bump version to 4.52.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-14 12:54:20 +00:00