Commit graph

1370 commits

Author SHA1 Message Date
Christoph Hartmann
0531976a40 implement unit tests for ini resource 2015-11-24 16:46:17 +01:00
Christoph Hartmann
60e2a3512f add init resource 2015-11-24 16:46:17 +01:00
Christoph Hartmann
0657525f4d lint json resource 2015-11-24 16:46:17 +01:00
Christoph Hartmann
62ecdf6a1f rewrite extraction of values 2015-11-24 16:46:17 +01:00
Dominik Richter
138c8eea28 Merge pull request #255 from chef/alexpop/more_registry_key_tests
Bugfix: make registry_key resource case-insensitive
2015-11-24 16:34:17 +01:00
Christoph Hartmann
b70ba447b2 simplify method returns 2015-11-24 10:41:46 +01:00
Christoph Hartmann
129395141b bugfix: make registry_key case-insensitive for properties 2015-11-23 16:26:17 +01:00
Christoph Hartmann
921c2b886c add more case-insensitive tests 2015-11-23 16:25:33 +01:00
Alex Pop
25acd86c88 add NTLMMinServerSec test 2015-11-23 14:43:47 +00:00
Dominik Richter
a387d405bb Merge pull request #253 from chef/chris-rock/readme
improvement: update install instructions and add notes for windows builds
2015-11-23 14:25:30 +01:00
Christoph Hartmann
c4770d4ab0 update install instructions and add notes for windows builds 2015-11-23 14:03:50 +01:00
jcreedcmu
7ece32d9ef Merge pull request #251 from chef/0.9.3
0.9.3
2015-11-20 17:46:15 -05:00
Dominik Richter
75d8b9388b 0.9.3 2015-11-20 23:33:18 +01:00
Dominik Richter
7e94d13a43 configure future changelog version from inspec version 2015-11-20 23:33:18 +01:00
jcreedcmu
421fabf93e Merge pull request #250 from chef/changelog
Introduce automated changelog generation
2015-11-20 17:19:57 -05:00
Dominik Richter
26f57abb5f add changelog up to 0.9.2 2015-11-20 22:57:30 +01:00
Dominik Richter
945ae587e9 disregard the changelog history before 0.7.0 2015-11-20 22:48:38 +01:00
Dominik Richter
cc68f46c5c add rake task for changelog generation 2015-11-20 22:38:12 +01:00
Dominik Richter
9004daa546 prepare auto-generation of changelog
see github changelog generator which requires the history in a separate file
2015-11-20 22:24:29 +01:00
Dominik Richter
311fdb342b add github changelog generator 2015-11-20 22:23:25 +01:00
Dominik Richter
ff16a8ef27 Merge pull request #249 from chef/schisamo/load-path-fix
ensure all test directories are on the runner $LOAD_PATH
2015-11-20 13:55:40 +01:00
Seth Chisamore
606f618fc7 ensure all test directories are on the runner $LOAD_PATH
This change builds on chef/kitchen-inspec#12. All test directories should
be on the `$LOAD_PATH` when `Inspec::Runner` executes the test suites with
`RSpec::Core::Runner`. This will allow things like `require 'spec_helper'`
to work as expected.
2015-11-20 00:14:57 -05:00
Christoph Hartmann
d897cf22a7 Merge pull request #245 from chef/schisamo/os_env-windows
Add Windows support to the `os_env` resource
2015-11-19 16:09:35 +01:00
Seth Chisamore
beade346bf Add Windows support to the os_env resource
This change allows checks like:

```
describe os_env('PATH') do
  its('split') { should include('C:\wix') }
end
```
2015-11-19 15:41:00 +01:00
Christoph Hartmann
b87aa97da9 Merge pull request #244 from chef/update_readme
Added links to the different sections.
2015-11-19 15:40:15 +01:00
JJ Asghar
d1e35b37ec Added links to the different sections.
- Reading the Doc probably want to use the list as an Table of Contents
  to jump to another section. This does that.
- Group isn't considered Unique in the doc, so the link goes to the same
  page.
2015-11-19 15:22:15 +01:00
Christoph Hartmann
f32d850618 Merge pull request #247 from chef/fix-describe-id
bugfix: support multiple computed calls to describe
2015-11-19 14:30:09 +01:00
Dominik Richter
a04ff021c6 bugfix: support multiple computed calls to describe
fixes #246
2015-11-19 14:28:42 +01:00
Dominik Richter
d9ded1d38d test for multiple computed calls to flat describe 2015-11-19 14:28:37 +01:00
Dominik Richter
3afd0d556d fix typos
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-11-19 14:17:18 +01:00
Dominik Richter
254f672f37 Merge pull request #233 from chef/alexpop/registry_key
improvement: rewrite registry_key resource, serverspec compatibility and add integration tests
2015-11-17 23:09:50 +01:00
Christoph Hartmann
b899430541 bugfix: add attribute reader to make the command accessible to script resource 2015-11-17 22:40:07 +01:00
Christoph Hartmann
2a82905096 simplify cookbook 2015-11-17 22:28:11 +01:00
Christoph Hartmann
83a1e7180e add integration test for registry key 2015-11-17 22:28:11 +01:00
Christoph Hartmann
27de925c2b update mock command for registry key 2015-11-17 22:28:11 +01:00
Christoph Hartmann
38e982709e update unit test 2015-11-17 22:28:11 +01:00
Christoph Hartmann
cb95951e03 simplify script resource 2015-11-17 22:28:11 +01:00
Christoph Hartmann
cd35d82326 improvement: reimplement registry key resource 2015-11-17 22:28:11 +01:00
Christoph Hartmann
07f142593e move registry key test into new directory 2015-11-17 22:28:11 +01:00
Alex Pop
c95cbe340a add registry_key recipe and spec tests 2015-11-17 22:28:11 +01:00
Dominik Richter
7d204f0533 Merge pull request #243 from chef/chris-rock/windows-integration-tests
bugfix: run integration tests on windows
2015-11-17 22:26:06 +01:00
Christoph Hartmann
8a85e68695 bugfix: run integration tests on windows 2015-11-17 22:14:05 +01:00
Dominik Richter
98d27dda02 Merge pull request #241 from chef/chris-rock/port-centos
add port support for centos
2015-11-17 12:45:40 +01:00
Christoph Hartmann
c6166e335b lint: fix lint error 2015-11-17 12:29:33 +01:00
Christoph Hartmann
850af710b0 improvement: add v6 protocol detection, it netstat does not deliver the information 2015-11-17 12:15:49 +01:00
Christoph Hartmann
9e3dccbfa3 improvement: restrice rescue to URI parse error 2015-11-17 12:14:05 +01:00
Christoph Hartmann
a4c47e1cd7 bugfix: fix regular expression to leave port colon 2015-11-17 12:12:59 +01:00
Christoph Hartmann
0de7549a64 lint: remove trailing whitespace 2015-11-16 21:44:12 +01:00
Christoph Hartmann
7fe79fdf57 add integration test for port scan 2015-11-16 20:34:21 +01:00
Christoph Hartmann
7898c1d29c improvement: optimize regular expression, catch parse errors and ignore header lines 2015-11-16 20:33:49 +01:00