Commit graph

2052 commits

Author SHA1 Message Date
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
Christoph Hartmann
83e6f46724 add centos support for port 2015-11-16 20:32:43 +01:00
jcreedcmu
6b2d4e2306 Merge pull request #237 from chef/osenv
api: don't force root on os_env
2015-11-13 10:16:57 -05:00
Dominik Richter
17ce88b63d api: don't force root on os_env 2015-11-13 12:10:22 +01:00
Dominik Richter
f431ece79c Merge pull request #228 from chef/upstart-systemv
Upstart with System V fallback
2015-11-13 10:59:34 +01:00
Dominik Richter
069075b48a lint 2015-11-13 10:46:04 +01:00
Christoph Hartmann
7b179872bd extend upstart implementation to support systemv services 2015-11-13 09:54:30 +01:00
Christoph Hartmann
b33717fa55 add test case for upstart with systemv service 2015-11-13 09:54:30 +01:00
Christoph Hartmann
e703ef3bf8 move test files to work with default test-kitchen 2015-11-13 09:54:30 +01:00
Dominik Richter
d13141dad1 Merge pull request #235 from chef/test-kitchen-example
change test-kitchen example from rule to control
2015-11-13 09:39:28 +01:00
Christoph Hartmann
839312156a change test-kitchen example from rule to control 2015-11-13 08:32:05 +01:00
Christoph Hartmann
77a3fddcad Merge pull request #234 from chef/lint
lint
2015-11-13 08:28:20 +01:00
Dominik Richter
6cbe3466fb update rubocop 0.35.1 2015-11-13 01:03:15 +01:00
Dominik Richter
007594eef7 lint 2015-11-13 00:48:52 +01:00
Christoph Hartmann
0a7cb9206b Merge pull request #225 from stuartpreston/master
OS resource requires a Symbol not a String
2015-11-10 00:15:27 +01:00
Stuart Preston
3ddd8e8243 OS resource requires a Symbol not a String 2015-11-07 11:56:01 +00:00
Christoph Hartmann
b772d3930a Merge pull request #223 from chef/readme_update
Update README.md
2015-11-07 10:18:52 +01:00
JJ Asghar
232da2dbef Update README.md
Added the rubygems installation to the README
2015-11-06 10:27:27 -06:00
Christoph Hartmann
9e2ccb0286 Merge pull request #222 from chef/sudo-readme
add a tiny sudo example to the readme
2015-11-06 15:55:10 +01:00