Victoria Jeffrey
1ea965080a
initial commit
2016-09-01 22:33:41 +01:00
Michał Sochoń
52b5b59b87
Extend Inspec DSL docs ( #1006 )
...
Update dsl_inspec.rst
2016-09-01 23:11:10 +02:00
Christoph Hartmann
fea0595890
Merge pull request #1002 from chef/chris-rock/fix-cli-link
...
fix cli link to docs
2016-09-01 11:25:56 +02:00
Christoph Hartmann
58a1ca595b
Merge pull request #1003 from martinheg/support_windows_servicename_with_spaces
...
Allow service resource to accept Windows service name with spaces
2016-08-31 18:23:49 +02:00
Martin Hegarty
ffee9bd2fc
Fix failing unit test
2016-08-31 16:56:23 +01:00
Martin Hegarty
e6eb6d8d36
Allow for windows service name with spaces
2016-08-31 15:01:07 +01:00
Christoph Hartmann
f15c0fefd4
fix cli link to docs
2016-08-31 15:54:28 +02:00
Christoph Hartmann
c3d5772536
Merge pull request #999 from chef/ap/mode-cmp
...
Promote cmp usage as it provides results with octal mode
2016-08-31 09:57:53 +02:00
Alex Pop
fd676ceb5c
promote cmp usage as it provides results with octal mode
2016-08-30 18:23:47 +01:00
Christoph Hartmann
4673dfd90f
Merge pull request #991 from jeremymv2/cmp_treat_0_as_integer
...
cmp not treating 0 as integer only as string
2016-08-30 11:41:25 +02:00
Jeremy J. Miller
3822b8ea3a
one more test for good measure
2016-08-29 19:50:03 -04:00
Jeremy J. Miller
0d817017bb
changed regex for integer to allow 0
2016-08-29 19:39:39 -04:00
Jeremy J. Miller
53dbaa9c3e
add test
2016-08-29 15:57:46 -04:00
Christoph Hartmann
efec6310c8
Merge pull request #987 from chef/ssd/comments
...
Minor refactor and explanatory comments
2016-08-29 11:35:51 +02:00
Steven Danna
4941ec69fd
Minor refactor and explanatory comments
...
This is a minor refactor that I did while studying our loading code in
preparation for some deeper changes to how content loading works. The
overall goal of the refactor is to remove a few places where we were
passing a generic options hash and then only accessing a single item.
The comment hopefully clarifies to new developers in the code base how
content loading works at a high level.
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-29 10:23:15 +01:00
Christoph Hartmann
ac40017b55
Merge pull request #988 from chef/ssd/osx-functional
...
Allow functional tests to pass on OSX
2016-08-26 15:34:59 +02:00
Steven Danna
3a6e610de9
Allow functional tests to pass on OSX
...
A few minor issues were causing 3 functional test failures on OS X.
These were not program errors but where rather the result of the
profiles under test assuming a linux environment.
Since many of the developers who will work on this project in the future
will be running OS X, let's ensure they can run the functional tests
easily.
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-26 15:25:59 +02:00
Christoph Hartmann
202d4e0f97
0.32.0
2016-08-26 11:45:00 +02:00
Christoph Hartmann
e6aa993472
Merge pull request #986 from chef/ssd/service-doc-reformat
...
Reformat service resource docs for discoverability
2016-08-26 11:39:14 +02:00
Steven Danna
f9952d922a
Reformat service resource docs for discoverability
...
This makes the service-manager-specific resources stand out a bit more
in the documentation.
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-26 11:23:59 +02:00
Christoph Hartmann
dad99cb91a
Merge pull request #983 from chef/chris-rock/ruby-2.2.1
...
suport for ruby 2.2.2
2016-08-26 11:23:01 +02:00
Christoph Hartmann
49603256ed
suport for ruby 2.2.2
2016-08-26 10:57:03 +02:00
Christoph Hartmann
e5c9a7ab1b
Merge pull request #985 from chef/ssd/vendor
...
Generate documentation for the `vendor` command
2016-08-26 10:56:18 +02:00
Christoph Hartmann
9468007f26
Merge pull request #946 from chef/vj/print-indiv-tests
...
print controls, then tests; print header of describe, then individual test results
2016-08-26 10:42:56 +02:00
Steven Danna
91fa58f421
Generate documentation for the vendor
command
...
This was generated using `rake docs:cli`.
2016-08-26 09:33:19 +01:00
Victoria Jeffrey
d6ee153aaa
print controls, then tests. print describe block header then each test
2016-08-26 10:12:56 +02:00
Victoria Jeffrey
1c31e3779e
print individual tests when in describe block
2016-08-26 10:12:24 +02:00
Christoph Hartmann
1dbcab3c7f
Merge pull request #981 from chef/vj/document-ini-resource
...
document ini resource
2016-08-26 10:04:07 +02:00
Victoria Jeffrey
eb3b80ff87
document ini resource
2016-08-26 09:54:40 +02:00
Christoph Hartmann
b99ca93d88
Merge pull request #982 from chef/ksubrama/sid
...
Add windows user SID as 'UID' in user resource. Fix #960
2016-08-26 09:51:01 +02:00
Christoph Hartmann
efb2e08a16
add tests for users with sid on windows
2016-08-26 09:40:24 +02:00
Christoph Hartmann
dd06709d6e
switch from deprecated script resource to powershell resource for user resource
2016-08-26 09:33:35 +02:00
Kartik Null Cating-Subramanian
89976219b9
Add windows user SID as 'UID' in user resource. Fix #960
2016-08-26 09:27:03 +02:00
Christoph Hartmann
8de1b9fe7b
Merge pull request #978 from nvtkaszpir/patch-1
...
Update port.rb Documentation
2016-08-26 09:12:35 +02:00
Kartik Null Cating-Subramanian
a331a7e5c9
Merge pull request #971 from chef/jk/test23
...
Add Ruby 2.3 to the test matrix, make it the primary test for most suites
2016-08-25 14:50:34 -04:00
Kartik Null Cating-Subramanian
1243d9475d
Rubocoooop!
2016-08-25 14:22:15 -04:00
John Keiser
75c15fd0b6
Add Ruby 2.3 to the test matrix, make it the primary test for most suites
2016-08-25 14:13:17 -04:00
Kartik Null Cating-Subramanian
fe3d264097
Merge pull request #980 from chef/ksubrama/ffi
...
Upgrade FFI to Ruby 2.3 issues on windows
2016-08-25 14:12:50 -04:00
Kartik Null Cating-Subramanian
6983fe434a
Upgrade FFI to Ruby 2.3 issues on windows
2016-08-25 14:04:09 -04:00
Michał Sochoń
3c106096b9
Update port.rb
2016-08-25 19:57:41 +02:00
Christoph Hartmann
67a0aa5bc8
Merge pull request #979 from chef/vj/train-conn-out-of-loop
...
move train connection out of loop for command_simulator
2016-08-25 18:59:52 +02:00
Victoria Jeffrey
83dfe494e7
move train connection out of loop for command_simulator
2016-08-25 12:53:42 -04:00
Christoph Hartmann
e91b885b03
Merge pull request #977 from chef/vj/get-command-output
...
first pass at collecting command output for demo
2016-08-25 18:07:38 +02:00
Victoria Jeffrey
2982fba946
switch to using train
2016-08-25 11:31:40 -04:00
Michał Sochoń
8b6107c5b9
Update port.rb
...
fix comment section, expand example section
2016-08-25 17:03:41 +02:00
Christoph Hartmann
40a7206746
Merge pull request #973 from chef/ssd/isolate-loading-1
...
Initial control isolation support
2016-08-25 14:53:26 +02:00
Christoph Hartmann
64a5a4d082
switch from os-hardening to ssh-hardening profile
2016-08-25 14:42:55 +02:00
Steven Danna
fd87b679be
Minor refactor of Inspec::Profile#load_checks_params
2016-08-25 14:42:55 +02:00
Steven Danna
6034ece853
Initial control isolation support
...
The goal of this change is to provide an isolated view of the available
profiles when the user calls the include_controls or require_controls
APIs. Namely,
- A profile should only be able to reference profiles that are part of
its transitive dependency tree. That is, if the dependency tree for a
profile looks like the following:
A
|- B --> C
|
|- D --> E
Then profile B should only be able to see profile C and fail if it
tries to reference A, D, or E.
- The same profile should be include-able at different versions from
different parts of the tree without conflict. That is, if the
dependency tree for a profile looks like the following:
A
|- B --> C@1.0
|
|- D --> C@2.0
Then profile B should see the 1.0 version of C and profile D should
see the 2.0 profile C with respect to the included controls.
To achieve these goals we:
- Ensure that we construct ProfileContext objects with respect to the
correct dependencies in Inspec::DSL.
- Provide a method of accessing all transitively defined rules on a
ProfileContext without pushing all of the rules onto the same global
namespace.
This does not yet handle attributes or libraries.
2016-08-25 14:42:55 +02:00
Christoph Hartmann
86c501fdd8
Merge pull request #975 from chef/jk/ruby21
...
Fix `bundle install` on Ruby 2.1.9
2016-08-25 14:42:17 +02:00