Commit graph

3918 commits

Author SHA1 Message Date
Stephan Renatus
cd5f47ed33 auditd_rules: unit tests, meet the real world 2016-02-09 11:51:52 +01:00
Stephan Renatus
07fb5caa9b resources/auditd_rules: add integration tests 2016-02-09 11:51:52 +01:00
Stephan Renatus
664561aa80 auditd_rules: status querying (old/new) and unit tests
TODO: unit tests for the legacy format
2016-02-09 11:51:52 +01:00
Stephan Renatus
b18936d704 move simple_config_test.rb to utils/ 2016-02-09 11:51:52 +01:00
Stephan Renatus
57db5a9414 unit test FilterArray, make retrieved values unique 2016-02-09 11:51:52 +01:00
Stephan Renatus
5270f21da9 move FilterArray to utils, add retrieving values 2016-02-09 11:51:52 +01:00
Stephan Renatus
4afb22565e auditd_rules: teach old dog new tricks 2016-02-09 11:51:52 +01:00
Stephan Renatus
2afc29e48f auditd_rules: stash legacy behaviour away 2016-02-09 11:51:52 +01:00
Christoph Hartmann
a22b6ddf58 Merge pull request #439 from chef/dr/winrm
update to winrm 1.6.1 command scheme
2016-02-09 11:35:33 +01:00
Dominik Richter
ac6d7fb76f fix unit tests for winrm 1.6.1 command scheme 2016-02-09 11:05:36 +01:00
Dominik Richter
0421b6dc1a exit early 2016-02-09 11:04:50 +01:00
Dominik Richter
c966e94835 typos 2016-02-09 11:04:34 +01:00
Dominik Richter
c623c694f0 Merge pull request #435 from chef/dr/semantics
semantics: rename CLI plugins registry -> commands
2016-02-09 01:28:10 +01:00
Dominik Richter
e56321f6c7 semantics: rename CLI plugins registry -> subcommands
Basically make sure everyone understands these are only subcommands. we might consider adding plugins for options or existing commands instead of new subcommands. this just ensures everyone knows what registry is for
2016-02-09 01:20:38 +01:00
Dominik Richter
e3179fb741 Merge pull request #434 from chef/dr/plugin-loading
avoid automatic plugin loading via library
2016-02-09 01:18:22 +01:00
Dominik Richter
7ccf0fa364 avoid automatic plugin loading throughout the library
only load plugins through the binary, never through the library. This avoids issue we have in accidentally loading plugins in tests and integration work. They should only be loaded when users request them.
2016-02-09 00:55:02 +01:00
Christoph Hartmann
8b57476e39 Merge pull request #433 from chef/dr/clarify-plugin
clarify the role of the plugin API at the moment
2016-02-09 00:48:43 +01:00
Dominik Richter
1ae0bc2e60 clarify the role of the plugin API at the moment 2016-02-09 00:25:25 +01:00
Dominik Richter
e5177a2274 Merge pull request #432 from chef/chris-rock/supermarket
Implement Supermarket Extension
2016-02-09 00:24:52 +01:00
Christoph Hartmann
b33129fbf5 implement supermarket extension 2016-02-08 20:06:07 +01:00
Christoph Hartmann
7799f389a1 Merge pull request #429 from chef/sr/dedup-gemfiles
dedup Gemfiles
2016-02-08 16:27:57 +01:00
Stephan Renatus
bcee367104 dedup Gemfiles 2016-02-08 14:34:35 +01:00
Stephan Renatus
b2610f0d88 Merge pull request #428 from chef/dr/loading-order
fix loading order of plugins
2016-02-08 08:48:58 +01:00
Dominik Richter
dc028a3877 fix loading order of plugins 2016-02-07 23:47:10 +01:00
Christoph Hartmann
1299e8c084 Merge pull request #427 from GeoFruck/patch-1
Update dsl_inspec.rst
2016-02-06 12:23:37 +01:00
GeoFruck
128bd1fafe Update dsl_inspec.rst
Corrected spelling, desrcibed -> described line 14
2016-02-05 22:09:32 -06:00
Dominik Richter
75e0165bc3 Merge pull request #426 from chef/0.10.1
0.10.1
2016-02-05 18:54:58 +01:00
Christoph Hartmann
c6c9d0278c 0.10.1 2016-02-05 18:52:44 +01:00
Christoph Hartmann
68ff114d53 Merge pull request #425 from chef/dr/wrap-basecli
wrap basecli in inspec module
2016-02-05 18:49:12 +01:00
Dominik Richter
bb264897f4 wrap basecli in inspec module
Take care of a rare error which has Inspec undefined
2016-02-05 18:25:40 +01:00
Dominik Richter
c695885c9d Merge pull request #424 from chef/0.10.0
0.10.0
2016-02-05 17:53:35 +01:00
Christoph Hartmann
be7aa8f0c4 0.10.0 2016-02-05 17:18:07 +01:00
Dominik Richter
1199400212 Merge pull request #409 from chef/chris-rock/extras-compliance
Chef Compliance extension
2016-02-05 17:12:39 +01:00
Christoph Hartmann
b7a88dbd7a fix linting and unit test 2016-02-05 16:57:51 +01:00
Christoph Hartmann
f826c07af5 minor improvements 2016-02-05 14:55:12 +01:00
Christoph Hartmann
7e88f56917 move plugin to bundles 2016-02-05 14:48:55 +01:00
Christoph Hartmann
a55a4869d9 extract base cli class 2016-02-05 14:20:32 +01:00
Christoph Hartmann
30aabc4f42 remove def newline :-) 2016-02-05 14:18:05 +01:00
Christoph Hartmann
7494854c60 implement profile upload 2016-02-05 14:18:05 +01:00
Christoph Hartmann
841701d9e1 deactivate logger for check 2016-02-05 14:18:05 +01:00
Christoph Hartmann
368f6ed56a refactor compliance plugin 2016-02-05 14:18:05 +01:00
Christoph Hartmann
2cb3d6f90f bugfix: rescue url error in url target helper 2016-02-05 14:15:57 +01:00
Christoph Hartmann
6c1b9fff9d do not try to load a profile if we have no token available 2016-02-05 14:15:57 +01:00
Christoph Hartmann
7f57b12258 refactor cli 2016-02-05 14:15:57 +01:00
Christoph Hartmann
823e30e9cf re-introduce compliance exec 2016-02-05 14:14:34 +01:00
Christoph Hartmann
0958327f06 improve url target helper, match github url with trailing / 2016-02-05 14:14:34 +01:00
Christoph Hartmann
6cf8ecf304 add target helper for compliance plugin, extract API methods from CLI 2016-02-05 14:14:34 +01:00
Christoph Hartmann
0b59dab9ea initial version of compliance plugin 2016-02-05 14:13:22 +01:00
Dominik Richter
4743c9eb81 Merge pull request #421 from chef/chris-rock/cli-plugins
Extend Plugin-System for CLI Plugins
2016-02-05 14:12:08 +01:00
Christoph Hartmann
3d7ee9d95b add unit test for cli plugin 2016-02-05 14:06:55 +01:00