Commit graph

2748 commits

Author SHA1 Message Date
Steven Danna
3777f06927
Remove some warnings during the test run 2016-09-09 14:14:36 +01:00
Steven Danna
f431794917
Clean up Inspec::Profile initialize to make it clear what options we use 2016-09-09 14:14:36 +01:00
Christoph Hartmann
e44a3802dd Merge pull request #1035 from chef/chris-rock/sys_info
add sys_info resource to get information about the hostname
2016-09-09 12:50:35 +02:00
Christoph Hartmann
e61f71143d add unit tests 2016-09-09 12:43:03 +02:00
Christoph Hartmann
82a4e21cf7 add sys_info resource to get information about the hostname 2016-09-09 10:36:02 +02:00
Christoph Hartmann
23410755ea Merge pull request #990 from chef/ksubrama/user_sid
user resource should support filtertable
2016-09-09 10:24:48 +02:00
Christoph Hartmann
fb416bfdf8 added further comments highlight that the users research is focussed on local users 2016-09-09 09:31:38 +02:00
Christoph Hartmann
23cfc3c4bd fix for solaris 2016-09-09 09:31:38 +02:00
Christoph Hartmann
78a47aa43b improve windows implementation 2016-09-09 09:31:38 +02:00
Christoph Hartmann
74c3904844 improve performance for single user requests 2016-09-09 09:31:37 +02:00
Christoph Hartmann
94100d98b0 full implementation for filtable for linux and mac 2016-09-09 09:31:37 +02:00
Kartik Null Cating-Subramanian
42fd3fc51a first iteration fitlertable for user resource 2016-09-09 09:31:37 +02:00
Christoph Hartmann
c8f835a2ef Merge pull request #1036 from chef/ssd/code-coverage-fix
Ensure simplecov starts before everything else
2016-09-08 22:48:58 +02:00
Steven Danna
7e8f3f571e
Ensure simplecov starts before everything else
Before this change, simplecov was reporting

    1864 / 5198 LOC (35.86%) covered

After this change it is reporting

    4131 / 5275 LOC (78.31%) covered.

Keeping the require at the top of the file ensure that simplecov is
loaded before any of our application code.
2016-09-08 21:32:15 +01:00
Christoph Hartmann
bf4d5774f0 Merge pull request #1015 from chef/vj/make-demo-better
make demo better
2016-09-07 18:31:23 +02:00
Christoph Hartmann
cbaf4d1fe9 add webpack configuration 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
9d32685ccb switch from systemjs to webpack 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
7f47f61f43 make the demo better!! 2016-09-07 17:53:50 +02:00
Christoph Hartmann
9e9de6c66b Merge pull request #1031 from chef/dr/table
fix table formatting in readme
2016-09-07 17:50:43 +02:00
Dominik Richter
c2e834b9f4 fix table formatting in readme 2016-09-07 17:36:58 +02:00
Christoph Hartmann
f9416ffe29 Merge pull request #1029 from chef/dr/delivery
remove old delivery tests
2016-09-07 17:19:45 +02:00
Dominik Richter
2e03665f1f remove old delivery tests
our open source projects dont use these right now. Git history retains all information, so it is easy to restore it once we can use workflow again.
2016-09-07 17:15:20 +02:00
Christoph Hartmann
b30080d284 Merge pull request #1032 from chef/dr/health
add health graphs
2016-09-07 16:49:10 +02:00
Dominik Richter
01ae5d8a36 add inspec health graphs 2016-09-07 16:39:43 +02:00
Christoph Hartmann
fe58fa16bb 0.33.2 2016-09-07 13:03:15 +02:00
Christoph Hartmann
80fd288f44 Merge pull request #1020 from chef/chris-rock/iis_direct_matcher
allow direct access to iis configuration parameters
2016-09-07 11:34:47 +02:00
Christoph Hartmann
1bd55f8cc4 allow direct access to iis configuration parameters 2016-09-07 11:19:34 +02:00
Christoph Hartmann
1268a28ea9 Merge pull request #1027 from chef/ap/ssl-improvements
ssl resource fix and speed improvement
2016-09-07 11:09:52 +02:00
Alex Pop
f65ceeb900 handled hostname differently for WinRM::Connection
parallelize protocol checks to speed up the scan
2016-09-07 11:04:01 +02:00
Christoph Hartmann
123ddd2a6c 0.33.1 2016-09-07 10:50:48 +02:00
Christoph Hartmann
9f980cff99 Merge pull request #1023 from chef/ssd/remove-prepare_load_path
Remove SourceReader::Inspec#prepare_load_path
2016-09-07 10:43:45 +02:00
Steven Danna
210dbc9425 Remove SourceReader::Inspec#prepare_load_path
We already monkeypatch require so that it is redirected through the
require_loader.  All of the tests pass with this removal.  We might
cause some breakage with this removal that we aren't testing, but given
that we are mucking with `require` it seems preferable to have one
mechanism by which we do that and solve any bugs with that single path.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-07 10:35:58 +02:00
Christoph Hartmann
bd64428458 Merge pull request #1026 from chef/ssd/attribute-fix-1
Pass attributes from command line into profile context
2016-09-07 10:34:56 +02:00
Steven Danna
74e712854e Pass attributes from command line into profile context
We broke attributes with the dependency work. Minimally fix them. TODO:
Maximally fix them.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-07 10:29:47 +02:00
Christoph Hartmann
163e32ae7a Merge pull request #1022 from chef/dr/demo
add demo yml contents
2016-09-06 14:00:07 +02:00
Dominik Richter
6b07f3337a add demo yml contents
Closes https://github.com/chef/inspec/issues/954
2016-09-06 13:30:06 +02:00
Christoph Hartmann
59989d7f83 0.33.0 2016-09-05 17:43:19 +02:00
Christoph Hartmann
ec2e994dae Merge pull request #1017 from chef/chris-rock/cli-report-show-errors
always display error message
2016-09-05 17:34:30 +02:00
Christoph Hartmann
0a34ffef5a always display error message 2016-09-05 17:23:14 +02:00
Christoph Hartmann
8b90af58f3 Merge pull request #1019 from chef/ap/raise-invalid-uri
Raise error when an invalid URI is received
2016-09-05 16:49:14 +02:00
Alex Pop
8dcd71374b Raise error when an invalid URI is received 2016-09-05 14:44:01 +01:00
Christoph Hartmann
782e4daa00 Merge pull request #1018 from chef/chris-rock/winrm-v2
use winrm v2
2016-09-05 13:54:44 +02:00
Christoph Hartmann
2dbcbb6cb1 update train and kitchen-inspec version to support winrm v2 2016-09-05 13:36:48 +02:00
Christoph Hartmann
73f93c2756 fix powershell based unit tests 2016-09-05 13:36:48 +02:00
Christoph Hartmann
c3c648eeb9 fix integration tests for usage with winrm v2 2016-09-05 13:36:48 +02:00
Dominik Richter
482a48cedc Merge pull request #1007 from chef/chris-rock/suse-11
improve suse 11 support for service resource
2016-09-05 10:30:08 +01:00
Christoph Hartmann
3ddcb4c418 fix integration tests for suse 11 2016-09-05 11:22:52 +02:00
Christoph Hartmann
3346d7e1a9 support /etc/init.d directory for run level configuration 2016-09-05 11:08:21 +02:00
Christoph Hartmann
0084873df8 add suse 11 to chef images 2016-09-05 11:08:21 +02:00
Christoph Hartmann
90a8584d10 Merge pull request #994 from chef/ssd/resource-isolation
Initial attempt at isolating resources between dependencies
2016-09-05 11:07:29 +02:00