Chef Expeditor
fe3fc3ffbf
Bump version to 4.18.22 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-31 21:20:26 +00:00
Miah Johnson
1b93755410
Merge pull request #4653 from landychan/lchan/bug-fix-3611
...
Nginx Resource: Add parsing support for wildcard, dot prefix, and regex
2019-10-31 14:20:08 -07:00
Chef Expeditor
6f4a7ffe48
Bump version to 4.18.21 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-31 21:19:05 +00:00
Miah Johnson
7442955ed6
Merge pull request #4650 from inspec/cw/fix-compliance-exec
...
Fix config reference in `compliance exec`
2019-10-31 14:18:47 -07:00
Chef Expeditor
a7bd16a1f9
Bump version to 4.18.20 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-31 21:14:13 +00:00
Miah Johnson
7a68d58904
Merge pull request #4654 from inspec/mj/oracle
...
oracledb_session fixes
2019-10-31 14:13:56 -07:00
Chef Expeditor
26f4d66006
Bump version to 4.18.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-31 21:13:25 +00:00
Miah Johnson
de4139aff8
Merge pull request #4568 from ramereth/yum-el8-support
...
Improve testing for yum.repo in CentOS 8
2019-10-31 14:13:05 -07:00
Chef Expeditor
a599ba428b
Bump version to 4.18.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-31 21:10:23 +00:00
Ryan Davis
7189f2e21a
Fixed problem with accessing backend in TestDslLazyLoader#method_missing.
...
Fixes #4587 .
Fixes #4524 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-31 14:09:16 -07:00
Ryan Davis
defe63dada
Test for bug #4524 and bug #4587 to verify that resources are available w/in rspec constructs.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-31 14:09:16 -07:00
Miah Johnson
b63e886523
Fixes based on PR feedback.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-31 11:44:08 -07:00
Miah Johnson
c582895434
cmd and command were too similar
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 19:41:57 -07:00
Miah Johnson
636f34f7fc
remove old comments
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 19:41:28 -07:00
Miah Johnson
6bab53cbd3
after dropping the return we dont have to worry about executing during init
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 19:10:57 -07:00
Miah Johnson
0ff8383369
give bin a default value
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 19:10:03 -07:00
Miah Johnson
85df7f52ef
Don't need to return on these.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 17:28:14 -07:00
Landy Chan
9e38bec396
Added wildcard and dot-prefixed identifier support. Combined regex identifier into standard identifier
...
Signed-off-by: Landy Chan <landychan92@gmail.com>
2019-10-30 16:39:38 -07:00
Miah Johnson
6e346a3616
make readers match their instance variables
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 15:28:34 -07:00
Miah Johnson
c82a94f2a3
wire everythign up
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 15:28:19 -07:00
Miah Johnson
08462e4319
give our argument a better name
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 15:27:18 -07:00
Miah Johnson
36dc965d70
dead code
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 15:26:19 -07:00
Miah Johnson
45348965b6
figure out command outside of query.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 15:25:03 -07:00
Miah Johnson
96d832effa
fix verify_query
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 15:16:05 -07:00
Miah Johnson
3a8c474e56
Move our resource checks out of initialize.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 15:14:41 -07:00
Landy Chan
e60179b91f
Added regex identifier
2019-10-30 13:51:20 -07:00
Clinton Wolfe
954174c921
Fix config reference in compliance exec
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-10-30 15:56:07 -04:00
Miah Johnson
a46f78031b
set sqlcl_bin if specified by users, else don't.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 12:28:15 -07:00
Chef Expeditor
4c0675dc79
Bump version to 4.18.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-30 09:38:42 +00:00
Chef Expeditor
d241dcab23
Bump version to 4.18.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-29 21:47:57 +00:00
Ryan Davis
f56ccb16cb
Merge pull request #4628 from inspec/zenspider/minitest-output
...
Fixed the rest of the minitest deprecations by removing FuncTestRunResult.
2019-10-29 14:47:36 -07:00
Chef Expeditor
58d9a975c1
Bump version to 4.18.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-24 20:25:59 +00:00
Chef Expeditor
4897f75371
Bump version to 4.18.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-24 20:25:17 +00:00
Miah Johnson
9c953a0e68
Merge pull request #4638 from inspec/mj/eha
...
Add #to_s to etc_hosts_allow, and add tests
2019-10-24 13:24:46 -07:00
Chef Expeditor
c0001ff873
Bump version to 4.18.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-24 20:24:35 +00:00
Miah Johnson
44579ab4b3
Merge pull request #4637 from inspec/mj/3921
...
Fix filesystem resource when device has long name
2019-10-24 13:24:23 -07:00
Miah Johnson
86acdda337
Merge pull request #4636 from inspec/mj/4630
...
iis_app_pool better handling of non-existent pools.
2019-10-24 13:24:03 -07:00
Chef Expeditor
71d0683ff0
Bump version to 4.18.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-24 20:23:51 +00:00
Miah Johnson
c9c8bc5f9d
Merge pull request #4635 from inspec/zenspider/users-bad-date
...
Fix a crash from users resource if the password has never been updated
2019-10-24 13:23:30 -07:00
Miah Johnson
ac399b7af9
Add #to_s to etc_hosts_allow, and add tests
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-24 12:07:26 -07:00
Lance Albertson
dab91a321a
Improve testing for yum.repo in CentOS 8
...
The output for ``yum -v repolist all`` changes slightly in CentOS 8. There are
two specific changes:
1. EL8 is no longer trailing the repo name with release version and arch (i.e.
base instead of base/7/x86)
2. EL8 no longer adds a trailing newline on the last repo and instead has a line
with ``Total packages:``. This means the repo listed last will never show up.
A fix was introduced in #4566 however the tests still use CentOS 7 yum output
instead of dnf repolist output. One issue was still discovered where it was
including the ``Total packages`` line in the last repository. This includes a
regex for to work around that and fixes for the tests.
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-10-24 08:22:42 -07:00
Miah Johnson
0affbc0487
Use the posix output format
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-23 19:55:53 -07:00
Miah Johnson
90d3d9fd32
supports
should cover this, salmon!
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-23 17:59:25 -07:00
Miah Johnson
e6b6762e51
Nicer memoize
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-23 17:58:58 -07:00
Miah Johnson
044110e6fc
Return true/false if iis_app_pool[:pool_name] has a value (or not)
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-23 17:57:42 -07:00
Ryan Davis
8d51d878f6
Fixed users resource when "Last password change" is "never".
...
Extended quick_resource to have platform methods and a new string
command mock. The named resource to mock may now be a symbol.
Added a new test that shows how to use quick_resource with multiple commands.
Fixes #4629 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-23 16:49:49 -07:00
Ryan Davis
c9a3c927f9
Fixed inspec from crashing on startup when it can't create the cache directory.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-23 16:35:11 -07:00
Chef Expeditor
8200e625b4
Bump version to 4.18.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-23 21:54:39 +00:00
Ryan Davis
d201d1fbc2
Fixed the rest of the minitest deprecations by removing FuncTestRunResult.
...
Folded the json & other payloads into plain ivars on the test.
Found and removed some unused code while I was there.
Fixes #4533 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-22 12:15:28 -07:00
Chef Expeditor
aebcd3c119
Bump version to 4.18.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-21 21:26:54 +00:00