Commit graph

2298 commits

Author SHA1 Message Date
Dominik Richter
41fb327e20 0.16.4 2016-03-25 14:25:44 +01:00
Dominik Richter
5f905a6732 Merge pull request #589 from chef/dr/fun-tests
support --controls for inspec json
2016-03-25 03:04:47 +01:00
Dominik Richter
ee170cc526 support --controls for json 2016-03-25 01:58:59 +01:00
Dominik Richter
17840e0299 split up functional tests 2016-03-25 01:32:03 +01:00
Dominik Richter
1a9ce9b941 Merge pull request #561 from chef/chris-rock/tags-docs
document tags and refs
2016-03-25 01:31:44 +01:00
Christoph Hartmann
f4180780d1 document tags and refs 2016-03-25 00:58:27 +01:00
Dominik Richter
0db3a389aa Merge pull request #574 from chef/sr/fix-url-encode-profiles
inspec-compliance: url_encode profile names
2016-03-25 00:08:42 +01:00
Stephan Renatus
be93f25e6e inspec-compliance: url_encode profile names 2016-03-24 23:47:41 +01:00
Dominik Richter
62cadd0aab Merge pull request #588 from chef/dr/connection-errors
dont fail with stacktrace on connection errors
2016-03-24 23:46:44 +01:00
Dominik Richter
856460054f dont fail with stacktrace on connection errors 2016-03-24 23:24:58 +01:00
Dominik Richter
ed9ad28afb Merge pull request #583 from chef/ap/long-live-gordon
Improvements to gordon example and docs
2016-03-24 22:20:57 +01:00
Alex Pop
53c7683ff7 update tests based on resource changes 2016-03-24 21:50:51 +01:00
Alex Pop
825702014c update gordon with a bit of ruby and update README 2016-03-24 21:50:47 +01:00
Alex Pop
1dce2037b3 use unix family for wider compatibility 2016-03-24 19:50:52 +00:00
Dominik Richter
e7a2d9b763 Merge pull request #582 from chef/ap/fix-inspec-shell-missing-resources
bugfix: fix rare inspec shell missing all resources
2016-03-24 20:46:15 +01:00
Alex Pop
3c3d711dfd bugfix: fix rare inspec shell missing all resources
In some instances, when running inspec shell, you dont get any resources inside of it. i.e. `inspec shell` and then `os` will lead to

```ruby
NameError: undefined local variable or method `os' for
from (pry):1:in `add_content'
```

This is because of instance_eval loading withing the given source/line
information and not attaching to the profile context which actually has
all the resources. Fix it by making sure that inspec shell always
attaches to the profile context with resources by providing nil for
source and line information.
2016-03-24 20:37:46 +01:00
Dominik Richter
0624227004 Merge pull request #575 from chef/sr/0.16.3
0.16.3
2016-03-23 16:56:56 +01:00
Stephan Renatus
d91bce0a20 0.16.3 2016-03-23 16:49:27 +01:00
Dominik Richter
ca8194ccad Merge pull request #573 from chef/sr/fix-upload-profiles
inspec-compliance: fix upload of profiles
2016-03-23 16:39:14 +01:00
Stephan Renatus
f19b3f632f inspec-compliance: fix upload of profiles 2016-03-23 16:13:23 +01:00
Dominik Richter
4a98ed04d7 Merge pull request #571 from chef/0.16.2
0.16.2
2016-03-22 20:44:30 +01:00
Dominik Richter
8d524630c3 0.16.2 2016-03-22 20:30:21 +01:00
Dominik Richter
bf44bed7a7 Merge pull request #570 from chef/dr/fix-parse_config-crash
bugfix: dont crash on read_file contents in parse_config
2016-03-22 19:23:01 +01:00
Dominik Richter
c5f0d11e4c bugfix: dont crash on read_file contents in parse_config 2016-03-22 18:42:50 +01:00
Stephan Renatus
8b492c3fe3 Merge pull request #567 from chef/0.16.1
0.16.1
2016-03-22 13:13:41 +01:00
Dominik Richter
cd031607c1 0.16.1 2016-03-22 12:57:45 +01:00
Dominik Richter
15772654e4 Merge pull request #560 from chef/chris-rock/wmi
add `wmi` resource
2016-03-20 12:56:48 +01:00
Christoph Hartmann
cd57b26bd0 wmi unit test 2016-03-20 11:53:56 +01:00
Christoph Hartmann
f97301882e add namespace for wmi resource 2016-03-20 11:53:56 +01:00
Christoph Hartmann
7e7196db77 add wmi integration tests 2016-03-20 11:53:56 +01:00
Christoph Hartmann
67251d2982 implement object traversal for wmi object, make namespace and filter optional 2016-03-20 11:53:56 +01:00
Christoph Hartmann
d045927d28 add wmi resource 2016-03-20 11:53:56 +01:00
Dominik Richter
1d7c110917 Merge pull request #559 from chef/chris-rock/vbscript
Add `vbscript` resource
2016-03-20 10:54:35 +01:00
Christoph Hartmann
4c5a3ed412 add vbscript unit test 2016-03-19 19:04:31 +01:00
Christoph Hartmann
849c23d0aa remove comments from ps script and remove tmp vb script after execution 2016-03-19 19:04:31 +01:00
Christoph Hartmann
e8aa426846 add vbscript integration test 2016-03-19 19:04:31 +01:00
Christoph Hartmann
6d53e43e7d add vbscript resource 2016-03-19 19:04:31 +01:00
Dominik Richter
71b4dbbc15 Merge pull request #558 from chef/chris-rock/port-adresses
add support for addresses in port resource
2016-03-19 19:03:39 +01:00
Christoph Hartmann
f50255486b add support for addresses in port resource 2016-03-19 11:48:14 +01:00
Christoph Hartmann
b3f0129a01 Merge pull request #557 from chef/0.16.0
0.16.0
2016-03-19 11:45:47 +01:00
Dominik Richter
eecf62643a 0.16.0 2016-03-19 11:13:32 +01:00
Christoph Hartmann
75705b198d Merge pull request #556 from chef/dr/shell
fix inspec shell and continuously test it
2016-03-19 10:35:35 +01:00
Dominik Richter
a9632d53d4 fix inspec shell and continuously test it 2016-03-19 09:13:23 +01:00
Dominik Richter
5758f30465 Merge pull request #553 from chef/powershell
rename `script` resource to `powershell` resource
2016-03-18 16:18:28 +01:00
Christoph Hartmann
32a065239c update unit test, add integration test 2016-03-18 15:47:00 +01:00
Christoph Hartmann
e2466d0dbb rename script to powershell 2016-03-18 15:41:54 +01:00
Dominik Richter
f0312f4abe Merge pull request #468 from chef/chris-rock/integration
Move integration tests to test/integration
2016-03-18 15:37:55 +01:00
Christoph Hartmann
0b582d2085 update dependencies for windows 2016-03-18 12:30:40 +01:00
Christoph Hartmann
7689ea04d7 add utf-8 encoding to Berksfile 2016-03-18 11:39:04 +01:00
Christoph Hartmann
8bc9d8820a update Berksfile with new cookbook location 2016-03-18 11:30:54 +01:00