Clinton Wolfe
35b0081c2c
Apply suggested fix to maintain SSH connection
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
Clinton Wolfe
6d7f5a240b
Convert minutes to seconds for consistent interface
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
James Stocks
9cc9090225
Add command-timeout option
...
Allow commands to have a timeout, set in minutes. This is considered an emergency mechanism to stop CI being halted indefinitely. If a test inherently needs to pass or fail based on a timeout, this should be scripted into the command string instead.
It can be set for a command resource, like:
```
describe command('sleep 100', timeout: 1) do
its('exit_status') { should cmp 0 }
end
```
It can also be set as a new option `command-timeout`.
A timeout set on a `command` resource takes precedence over the `command-timeout` option.
If no timeout is set at all, a command will default to timing out after 1 hour
Signed-off-by: James Stocks <jstocks@chef.io>
2021-03-29 21:46:25 -04:00
Chef Expeditor
86128f5557
Bump version to 4.29.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-25 19:24:42 +00:00
Vasu1105
a2d3218536
Disable rubocop for begin block
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 22:00:12 +05:30
Vasu1105
abde524470
Fixed lint and added code comments
...
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
8a77b740db
Fixes deprecation warning messages for respond_to? method
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:22 +05:30
Chef Expeditor
3091f5d6f0
Bump version to 4.29.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-24 19:14:37 +00:00
Chef Expeditor
001a4d16db
Bump version to 4.29.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-24 02:47:24 +00:00
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
Nikita Mathur
d673e840a3
Fix for executing git profiles with default branch not just master
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-23 16:20:47 +05:30
Chef Expeditor
8c93d81df4
Bump version to 4.29.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-22 20:40:16 +00:00
Chef Expeditor
9fc1364c07
Bump version to 4.29.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-19 14:26:16 +00:00
Clinton Wolfe
f1e118cbaa
Merge pull request #5430 from issue-3181-json-reporter-passthrough-data
2021-03-19 10:24:22 -04:00
Chef Expeditor
55075c294c
Bump version to 4.28.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-19 14:21:28 +00:00
Clinton Wolfe
3038ffa807
Merge pull request #5435 from collinmcneese/profile_init
2021-03-19 10:19:26 -04:00
Chef Expeditor
47ac2566c4
Bump version to 4.28.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-19 14:17:52 +00:00
Clinton Wolfe
5378a5128b
Merge pull request #5434 from inspec/vasundhara/fix-for-controls-option
2021-03-19 10:16:02 -04:00
Chef Expeditor
9ab75923cf
Bump version to 4.28.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-19 14:11:14 +00:00
Vasu1105
428a8a7194
Added code comments and rename control_list_exist? method to controls_list_exist?
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-19 16:10:12 +05:30
Vasu1105
2dcd174ff1
minor code fix
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-19 16:10:12 +05:30
Vasu1105
a5932b7da7
Fixes 5215: While using --controls options the control block was also getting evaluated as filtering of the control was happening after evaluating so added the filter logic in the control_eval_context. Also when we have describe block outside control block we are we
...
generating a control for them automatically and then execute due that also becomes a control and has to add same logic to filter the control in that mehtod
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-19 16:10:12 +05:30
Vasu1105
b984bbe960
Fixes #5215 : When we are using --controls option it was also evaluating the control block of not included controls in the controls option as it was filtering the controls from the list after evaluating updated the logic so that it gets evaluated after filtering. Removed filter_controls methods as no more using that
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-19 16:10:11 +05:30
Yoshi Yamaguchi
4981ca0a97
Add quotation around -name option to work properly with zsh
...
Singed-off-by: Yoshi Yamaguchi <yoshifumi@google.com>
2021-03-19 12:35:34 +09:00
Chef Expeditor
2f41c16ad4
Bump version to 4.28.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-17 17:21:06 +00:00
Collin McNeese
fa327ab55c
updates readme for profile inits to reference inputs instead of attributes
...
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-03-17 11:28:20 -05:00
Collin McNeese
9da7a7338d
updates aws profile init to use inputs instead of attributes
...
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-03-17 09:19:11 -05:00
Collin McNeese
2f4dc632a1
Updates GCP profile init to use inputs instead of attributes
...
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-03-17 09:15:10 -05:00
Chef Expeditor
12a357a46b
Bump version to 4.28.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-16 20:13:21 +00:00
Nick Schwaderer
4c03ad4c55
Support 'clear_cache'
...
Helps with Customer Bug 236 (see there for repro)
Currently, when we run `inspec compliance upload my_profile` it is
cached locally in inspec when run. If we update the version in the core
code and run another upload, `inspec compliance upload my_profile` again
it will run the old cached version instead of running a new copy
from automate.
The current workaround is to specify the desired version with
`inspec exec compliance://my_profile/admin#0.1.1`.
The caching happens before we have forward sight into the profile's
contents and only the target name. So the text used to generate the
cache would be `compliance://my_profile/admin` which does not change
version to version.
A fix here could simply identify when we are doing a local `inspec exec
compliance://` (hitting local profiles does not generate a cache) and
skips the cache if there's no version specified. That would eliminate
the unexpected behavior. However, it is a breaking change for customers
as some current caching taking place would no longer take place.
Instead, we have included a `clear_cache` cli method for InSpec,
which should assist the core team and other developers in the future
when debugging edge case issues in InSpec.
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-03-16 15:41:55 -04:00
Chef Expeditor
4bb0af3dbe
Bump version to 4.27.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-16 16:18:50 +00:00
Alexander Stein
351a943b35
Put back passthrough automate reporter output.
...
Signed-off-by: Alexander Stein <astein@flexion.us>
2021-03-15 13:17:54 -04:00
Chef Expeditor
cf48b46d00
Bump version to 4.27.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-15 15:51:03 +00:00
yarick
e88e92bb66
Merge branch 'master' of https://github.com/inspec/inspec into auditd_conf_readers
2021-03-14 18:58:44 -04:00
Alexander Stein
dbda2b8694
Merge branch 'master' of https://github.com/inspec/inspec into issue-3181-json-reporter-passthrough-data
2021-03-11 22:04:13 -05:00
Chef Expeditor
00c57dfe83
Bump version to 4.27.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-10 17:15:15 +00:00
Chef Expeditor
a395a96cff
Bump version to 4.27.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-10 17:09:28 +00:00
Clinton Wolfe
27e4854663
Merge pull request #5425 from option-to-skip-empty-profile-report
...
Fixes #5373 : Add option to filter empty profiles from report
2021-03-10 12:07:19 -05:00
Chef Expeditor
29682b4091
Bump version to 4.26.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-10 17:06:30 +00:00
Alexander Stein
e25585d7d7
Only hoist passthrough to json, rest in automate.
2021-03-09 22:39:56 -05:00
Chef Expeditor
151208b858
Bump version to 4.26.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-09 15:52:18 +00:00
Vasu1105
13d899d2af
Fix for nil error when using to compare nil to an expectation
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-05 21:46:52 +05:30
Vasu1105
216306a219
removed unwanted README files from test fixtures and fixed some minor copy paste test
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-05 16:29:30 +05:30
Alexander Stein
fa5357a543
Surface passthrough data to superclass.
2021-03-04 20:01:26 -05:00
Vasu1105
7dba4fa641
Fixes #5373 : Add option to filter empty profiles from report
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-04 22:09:48 +05:30
Chef Expeditor
9eacee2688
Bump version to 4.26.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-01 20:55:52 +00:00
yarick
181a924ddd
In order to allow for dynamic tests, exposed these instance variables
...
Signed-off-by: yarick <yarick@yarick.net>
2021-02-28 17:47:17 -05:00
Chef Expeditor
77b29d7550
Bump version to 4.26.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-26 14:22:10 +00:00
Clinton Wolfe
0f1b1f5c5c
Don't pass -u on AIX
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-02-25 14:31:13 -05:00
Chef Expeditor
c212bb0902
Bump version to 4.26.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-23 17:07:34 +00:00
Clinton Wolfe
b425f1d6b9
Merge pull request #5414 from inspec/cw/ssh_conf_first_value
2021-02-23 12:05:44 -05:00
Chef Expeditor
e990011d78
Bump version to 4.26.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-22 23:15:22 +00:00
Chef Expeditor
69320a4a0c
Bump version to 4.26.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-22 19:30:13 +00:00
Chef Expeditor
dd5ac93127
Bump version to 4.26.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-21 21:07:16 +00:00
Clinton Wolfe
eae5dc9473
Use first ssh_config value encountered
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-02-21 15:12:46 -05:00
Clinton Wolfe
953524b659
Recurse into subprofile contexts when skipping controls
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-02-16 18:13:27 -05:00
Chef Expeditor
26fc75d4c5
Bump version to 4.26.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-16 21:40:14 +00:00
Chef Expeditor
5f07181a00
Bump version to 4.26.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-12 16:36:35 +00:00
Chef Expeditor
0cf2716037
Bump version to 4.26.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-12 16:26:50 +00:00
Chef Expeditor
441502da51
Bump version to 4.26.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-12 16:23:43 +00:00
Chef Expeditor
2eda3de283
Bump version to 4.26.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-02-01 17:09:10 +00:00
Chef Expeditor
a70f336800
Bump version to 4.26.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-27 16:24:05 +00:00
Clinton Wolfe
49589a5534
Improve programmatic plugin configuration
2021-01-27 11:22:40 -05:00
Chef Expeditor
f6844a7442
Bump version to 4.26.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-27 15:50:16 +00:00
Thomas Heinen
4ef2c7ad1e
Improve programmatic plugin configuration
...
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2021-01-27 13:31:12 +01:00
Chef Expeditor
12f8db43f5
Bump version to 4.26.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-26 21:13:05 +00:00
Clinton Wolfe
2c391198f2
Enable programmatic setting of plugin configuration
2021-01-26 16:11:35 -05:00
Chef Expeditor
868e195c60
Bump version to 4.26.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-26 21:08:08 +00:00
Clinton Wolfe
408af711dd
Add option for --winrm-shell-type
2021-01-26 16:06:42 -05:00
Chef Expeditor
bd89effbfd
Bump version to 4.26.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-26 21:00:12 +00:00
Clinton Wolfe
f7ec1799c2
Add method_missing to nginx_conf
2021-01-26 15:58:48 -05:00
Chef Expeditor
cb088b9f2b
Bump version to 4.25.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-26 17:09:54 +00:00
Thomas Heinen
00975d8a64
Enable programmatic setting of plugin configuration
...
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2021-01-26 11:37:34 +01:00
Chef Expeditor
51b9180d12
Bump version to 4.25.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-25 03:47:49 +00:00
Clinton Wolfe
10255e4118
Update oracledb_session resource to use more general invocation options
2021-01-24 22:46:07 -05:00
Chef Expeditor
c5b00dbf5d
Bump version to 4.25.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-20 19:54:29 +00:00
Clinton Wolfe
22f05dfba3
Revert conditional require of Thor
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-01-19 14:12:26 -05:00
Clinton Wolfe
e9ea8d17a5
Add windows as a supported platform for ssh_config (5288)
2021-01-15 10:26:20 -05:00
Chef Expeditor
0de31653da
Bump version to 4.25.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-15 15:13:41 +00:00
Chef Expeditor
52ef1f4400
Bump version to 4.24.33 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-13 16:41:55 +00:00
Chef Expeditor
89289eed83
Bump version to 4.24.32 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-12 21:04:39 +00:00
Chef Expeditor
c6528568a3
Bump version to 4.24.31 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-12 20:36:35 +00:00
Chef Expeditor
1e8dd0ae1e
Bump version to 4.24.30 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-12 20:33:51 +00:00
Chef Expeditor
74533a76c4
Bump version to 4.24.29 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-08 19:12:09 +00:00
Chef Expeditor
1ccaa3e482
Bump version to 4.24.28 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-06 21:05:21 +00:00
Chef Expeditor
897b5b27a1
Bump version to 4.24.27 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-01-06 16:08:05 +00:00
Clinton Wolfe
43e171b681
Truncate code_desc as well when truncating report message
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-01-05 18:12:09 -05:00
Chef Expeditor
4ee82644e8
Bump version to 4.24.26 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-23 14:28:18 +00:00
Kasey Linden
0d1aa2c3a4
added specific oses
...
Signed-off-by: Kasey Linden <kaseylinden@gmail.com>
2020-12-22 15:46:57 -06:00
Chef Expeditor
2ff2fb3735
Bump version to 4.24.25 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-21 21:13:06 +00:00
Chef Expeditor
7bf9a8da65
Bump version to 4.24.24 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-21 20:27:57 +00:00
Chef Expeditor
3ec394c548
Bump version to 4.24.23 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-21 19:16:02 +00:00
Clinton Wolfe
cdfb325ca3
Apply chefstyle -a, and manually remove duplicate requires
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-21 13:25:04 -05:00
Chef Expeditor
3030e1d813
Bump version to 4.24.22 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-21 17:52:23 +00:00
Chef Expeditor
8519680780
Bump version to 4.24.21 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-18 22:02:11 +00:00
Chef Expeditor
81a7e70b05
Bump version to 4.24.20 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-18 16:56:31 +00:00
Chef Expeditor
b01778b7f5
Bump version to 4.24.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-17 14:12:46 +00:00
Chef Expeditor
08dd798394
Bump version to 4.24.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-17 14:07:28 +00:00
Chef Expeditor
bc90057e31
Bump version to 4.24.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-16 15:51:03 +00:00
Chef Expeditor
26e0818f0d
Bump version to 4.24.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-16 15:48:41 +00:00
Chef Expeditor
c4f7b7d65e
Bump version to 4.24.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-16 15:46:14 +00:00
Chef Expeditor
7ee32a651f
Bump version to 4.24.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-16 15:42:49 +00:00
Chef Expeditor
4279ba326d
Bump version to 4.24.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-15 21:57:37 +00:00
Chef Expeditor
d7e69db444
Bump version to 4.24.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-15 21:54:55 +00:00
Clinton Wolfe
f5466687cc
parse_config - accept array notation to handle dots
2020-12-15 16:53:34 -05:00
Chef Expeditor
e170e31055
Bump version to 4.24.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-15 20:44:53 +00:00
Clinton Wolfe
dbc9c4b6e7
Fix link to image in compliance plugin README
2020-12-15 15:43:34 -05:00
Chef Expeditor
a4924ac978
Bump version to 4.24.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-15 20:39:05 +00:00
Chef Expeditor
567c8d3cf3
Bump version to 4.24.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-10 17:56:00 +00:00
Chef Expeditor
eefd96d867
Bump version to 4.24.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-09 19:11:23 +00:00
Chef Expeditor
a570b48f12
Bump version to 4.24.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-09 19:07:27 +00:00
Chef Expeditor
9e5eef39ce
Bump version to 4.24.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-09 15:43:59 +00:00
Chef Expeditor
9e3f1aeed7
Bump version to 4.24.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-09 15:41:13 +00:00
Raphael Geissert
6bc765bc2f
Make sshd_config on Windows default to the right config file
...
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 15:45:21 +01:00
Raphael Geissert
2558b38a75
Add windows as a supported platform for ssh_config
...
Openssh for windows is a thing, so allow the ssh_config and sshd_config
resources to be used on it.
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 15:45:21 +01:00
Raphael Geissert
cc9d0df17b
Fix the reference to rspec-its' behaviour with arrays
...
Make it point to the version currently in use.
Obvious fix, the link to master is useless as the code moved.
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
Raphael Geissert
d4035cf8d6
Add respond_to_missing? methods to nginx_conf
...
This allows calls to Object.method(:name) work.
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:38:56 +01:00
Raphael Geissert
0bde654b3a
Add method_missing helpers to nginx_conf
...
This allows a similar syntax to that available on other resources.
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:38:56 +01:00
Pete Higgins
edf4a9838a
Fix link to documentation image.
...
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
2020-12-07 17:18:03 -08:00
Chef Expeditor
f9da70d647
Bump version to 4.24.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-03 13:47:02 +00:00
Nick Schwaderer
744f091ae6
Merge pull request #5317 from vsingh-msys/VSingh/fix-dir-home
...
Fix issue Dir.home would break when HOME env absent
2020-12-03 13:45:47 +00:00
Chef Expeditor
d5e426d068
Bump version to 4.24.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-03 13:18:23 +00:00
Nick Schwaderer
c766519485
Merge pull request #5302 from yarick/yt/wildcart_support_platform_name
...
Added platform-name wildcard support
2020-12-03 13:17:02 +00:00
Chef Expeditor
4feb6253dc
Bump version to 4.24.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 19:24:35 +00:00
Chef Expeditor
1daeaf30dc
Bump version to 4.24.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 19:19:40 +00:00
Chef Expeditor
97789c0fb1
Bump version to 4.24.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 15:02:15 +00:00
Chef Expeditor
3a0b153b57
Bump version to 4.23.25 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 10:17:30 +00:00
Alex Pop
e71043ee09
Make wmi resource always return arrays for params
...
Signed-off-by: Alex Pop <apop@chef.io>
2020-12-02 09:29:16 +00:00
Vivek Singh
b0ad73c973
minor comment updates
...
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
Vivek Singh
fd0708076f
replace with Etc.getpwuid.dir
...
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
Vivek Singh
5162ab4904
Fixes chefstyle & move etc require to block
...
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
Vivek Singh
896e5fa261
Fix issue where absent HOME would break Dir.home
...
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
superyarick
e7e196334a
Merge remote-tracking branch 'upstream/master' into yt/wildcart_support_platform_name
...
Signed-off-by: superyarick <yarick@yarick.net>
2020-12-01 18:29:44 -05:00
Chef Expeditor
8a608dac76
Bump version to 4.23.24 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-01 17:19:29 +00:00
Clinton Wolfe
353ea9166e
Fix escaping of Windows package names
2020-12-01 12:14:45 -05:00
Chef Expeditor
6923d1d75f
Bump version to 4.23.23 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-01 12:51:38 +00:00
Lance Albertson
a6cff007ed
Fix Windows escaping of Windows package names
...
This resolves #5235 and supersedes #5238 .
Instead of using `-match` use `-like` when querying the Windows registry. This
completely removes the problem of trying to clean the string for a regex and
just let's Powershell do that with `-like`.
I confirmed this works with the use case of having a package name such as
`Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29325` work as-is
without any modification.
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-11-30 18:02:50 -08:00
Chef Expeditor
ecc26f4f12
Bump version to 4.23.22 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-23 16:41:13 +00:00
Nick Schwaderer
4b97fba53a
Merge pull request #5241 from inspec/ns/inspec_cloud
...
InSpec Cloud: Reporting by Resource
2020-11-23 16:39:27 +00:00
pacopal
28be72d967
Update oracledb_session.rb
...
Update format_options for sqlplus to support all versions.
Reference: Issue 5182
Signed-off-by: Francisco Palomares <fpalomares@hotmail.com>
Fixed Test Unit to compare with new values
2020-11-23 14:43:19 +01:00
Nick Schwaderer
345a832eb1
Supply resource name, params to code_desc
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-11-19 09:59:53 +00:00
Chef Expeditor
65da44b6f7
Bump version to 4.23.21 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-18 15:41:02 +00:00
Nick Schwaderer
673e0415dc
Merge pull request #5306 from james-stocks/js/grub2
...
grub_conf - handle no menuentry config
2020-11-18 15:39:46 +00:00
Chef Expeditor
638ec26abe
Bump version to 4.23.20 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-18 14:17:02 +00:00
Clinton Wolfe
a85f7a228f
Don't reload plugins if load_all is called repeatedly.
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-12 15:05:59 -05:00
superyarick
fe75b288fb
Merge branch 'master' of https://github.com/inspec/inspec into yt/wildcart_support_platform_name
2020-11-11 16:08:42 -05:00
James Stocks
918b7fe840
grub_conf - handle no menuentry config
...
Fixes #5305
grub_conf assumes for grub2 that the config (default `/etc/default/grub`) contains `menuentry` lines. i.e. entries in the menu of kernels to boot.
A customer reports, and we can reproduce on the Vagrant `centos/8` image, that the default config for grub2 contains no such entries.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-11-11 10:56:23 +00:00
Chef Expeditor
d356aca0a9
Bump version to 4.23.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-11 09:07:50 +00:00