Commit graph

2040 commits

Author SHA1 Message Date
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
Christoph Hartmann
1d043bfebc move kitchen integration tests to top-level 2016-03-18 11:30:54 +01:00
Christoph Hartmann
8433b55fc4 do not install postgres on ubuntu 15.10 2016-03-18 11:30:54 +01:00
Christoph Hartmann
ea085ef7c0 place empty iso in tmp directory 2016-03-18 11:30:54 +01:00
Christoph Hartmann
914a4bf424 Merge pull request #552 from chef/dr/tags
add fulljson formatter
2016-03-18 10:14:30 +01:00
Dominik Richter
c78a7dfbde add functional tests for fulljson 2016-03-18 02:42:53 +01:00
Dominik Richter
d41d6ef4e0 add metadata from profile to summary 2016-03-18 02:42:53 +01:00
Dominik Richter
040b2eac8e add --format fulljson formatter 2016-03-18 02:42:53 +01:00
Christoph Hartmann
4c7c79cbf0 Merge pull request #551 from chef/dr/tags
feature: add tags and refs
2016-03-18 01:50:25 +01:00