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
Miah Johnson
9173674ecd
Unsure why old mocking system is broken.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 17:27:01 -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
Chef Expeditor
02913c45e5
Update CHANGELOG.md with details from pull request #4652
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-30 22:23:26 +00:00
Ryan Davis
6961e5df89
Merge pull request #4652 from inspec/btm/fix-www
...
Fix building the website
2019-10-30 15:23:14 -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
Bryan McLellan
98c28ac256
Fix building the website
...
- compass is now built in to middleman 4, including the old middleman-compass gem only creates issues with the dep graph
- deal with .css.scss files being ignored by splitting into separate .css and .scss files. (https://github.com/middleman/middleman-sprockets/issues/127 )
Closes #4613
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2019-10-30 17:36:03 -04: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
Miah Johnson
66cb95b2ca
Add tests to cover Linux/Windows differences in sqlplus execution
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 12:26:12 -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
Ryan Davis
21c89f357b
Merge pull request #4649 from inspec/zenspider/windows-bump
...
bumped the windows tests again
2019-10-30 02:38:23 -07:00
Ryan Davis
83a6bd84dd
bumped the windows tests again
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-30 01:47:16 -07:00
Mendy Baitelman
1a289571ed
Simplify logic
...
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-10-29 22:03:34 -07: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
ace4618213
Update CHANGELOG.md with details from pull request #4626
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-29 20:14:05 +00:00
Ryan Davis
40f54eb98b
Merge pull request #4626 from inspec/zenspider/root-user
...
Create a user 'normal' and use it to run tests. Also bundle caching.
2019-10-29 13:13:39 -07:00
Miah Johnson
6bc0cf104d
Merge pull request #4646 from inspec/mj/linkFix
...
Docs Link Fixes
2019-10-29 10:01:17 -07:00
Mary Jinglewski
6064155a93
Docs Link Fixes
...
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-10-29 10:22:34 -04: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
8e31367b51
Use new mock loader, update the command name
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-23 21:42:10 -07:00
Miah Johnson
e357232db1
Since our command is df -PT
lets match it in name
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-23 21:33:29 -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
Miah Johnson
cff6c30a3c
Merge pull request #4603 from inspec/mj/ccp
...
Let codeclimate ignore included inspec profiles
2019-10-23 17:20:08 -07:00
Chef Expeditor
c982626819
Update CHANGELOG.md with details from pull request #4600
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-24 00:19:21 +00:00
Miah Johnson
1e292adc42
Merge pull request #4600 from inspec/mj/4588
...
Add ruby 2.7 preview
2019-10-23 17:19:06 -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