Commit graph

1079 commits

Author SHA1 Message Date
jcreedcmu
801bc9700f Update ctl_inspec.rst
Documentation appears to have been describing the state of the world before a62ce0e14b
2015-10-30 12:44:30 +01:00
chef-delivery
443fad2b2a Merge pull request #169 from chef/jc/docs
Merged change 78ec3511-d420-4844-a86c-db6fa9b9fecb

From review branch jc/docs into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-30 04:43:11 -07:00
Jason Reed
5b6397fc25 Fix docs so they at least compile with rst2html.py 2015-10-30 07:28:40 -04:00
Dominik Richter
8d154eb91f Merge pull request #167 from nathenharvey/nathen/readme
Minor changes to the README
2015-10-29 19:38:58 +01:00
Nathen Harvey
01af426101 Minor wording changes 2015-10-29 11:42:22 -04:00
Nathen Harvey
68e7b0a59c 'InSpec' uses consistent capitalization 2015-10-29 08:01:00 -04:00
chef-delivery
6f9aeb6405 Merge pull request #164 from chef/jscott/syncresources
Merged change b187230b-217f-48eb-b665-14ca4b3fe3bc

From review branch jscott/syncresources into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-27 15:28:56 -07:00
jamescott
5c22048caa sync words
|inspec resource| = InSpec audit resource
2015-10-27 23:26:42 +01:00
Dominik Richter
24ec8be3d8 Merge pull request #163 from chef/docs
Improve docs
2015-10-27 23:04:54 +01:00
Christoph Hartmann
438dca1d28 improve docs for parse_config_file 2015-10-27 21:34:09 +01:00
Christoph Hartmann
178cf2564d remove postgres and mysql from resource docs for now 2015-10-27 21:34:09 +01:00
Christoph Hartmann
0e6a6296a3 remove to_i in its docs 2015-10-27 21:34:09 +01:00
Christoph Hartmann
7f3082f103 introduce stability index for resources 2015-10-27 21:34:08 +01:00
Christoph Hartmann
ebeac09036 extend docs introduction 2015-10-27 21:34:08 +01:00
chef-delivery
a8cdb53e45 Merge pull request #162 from chef/json
Merged change 68a5ab3f-f9c5-482c-a61e-2d5776f8931f

From review branch json into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-27 13:32:57 -07:00
Dominik Richter
24451469ca api: method_missing doesnt resolve hashmaps
Since #its has its(pun) own way of handling calls with a dot-notation, the full call is never passed to the resource. For example:

```ruby
describe json('file') do
  its('a.b.c') { should eq 123 }
end
```

This is resolved to calling `json('file').a.b.c` and thus doesnt work as an intended `json('file').send('a.b.c'). For now use
regular its-behavior of calling `json('file').params ...  its(%w{a b c}) { should ... }`.

Its' behavior must be improved.
2015-10-27 16:35:43 +01:00
Dominik Richter
8d682973b0 extend csv tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
Dominik Richter
e0874b47b1 extend yaml tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
Dominik Richter
a55e240a0f extend json tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
chef-delivery
6ddc45446d Merge pull request #161 from chef/bugfix-profile
Merged change 5ce5796b-e97e-4826-a9de-9848865207af

From review branch bugfix-profile into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-27 01:50:36 -07:00
Dominik Richter
8daf8dfa86 lint 2015-10-27 03:07:38 +01:00
Dominik Richter
59a8ca6639 construct profile in legacy structure
This is a temporary commit to achieve compliance with other components. It will be overturned before the final release.
2015-10-27 02:29:11 +01:00
Dominik Richter
5720aa3294 bugfix: detect filename+line for all example blocks 2015-10-27 02:29:11 +01:00
Dominik Richter
32e5e3ec29 move to symbols-based fields in profile params 2015-10-27 02:29:11 +01:00
Dominik Richter
7779cdb469 add simple tests for profile 2015-10-27 02:29:11 +01:00
chef-delivery
44bc61d137 Merge pull request #160 from chef/docs
Merged change 2879519d-dd20-489c-9569-702d4898d5a0

From review branch docs into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 18:28:41 -07:00
Christoph Hartmann
164aad5b86 update index of resource docs 2015-10-27 02:26:19 +01:00
Christoph Hartmann
c9defc90c7 add reference to docker 2015-10-27 02:26:19 +01:00
Christoph Hartmann
a1943296cf docs cli change replacements 2015-10-27 02:26:19 +01:00
Christoph Hartmann
7443b388c2 remove docs done flag 2015-10-27 02:26:19 +01:00
chef-delivery
0125440c03 Merge pull request #157 from chef/apache
Merged change b3b856f2-6e80-4fe8-81d3-769445e4a9b1

From review branch apache into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 18:23:24 -07:00
Christoph Hartmann
cdb30c356f add apache base config 2015-10-27 02:20:29 +01:00
chef-delivery
a2bc0845cd Merge pull request #158 from chef/readme
Merged change 0534a0a5-42fd-4359-a583-3a017835925d

From review branch readme into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 18:19:53 -07:00
Dominik Richter
4f187360f1 minor adjustments to readme 2015-10-27 02:16:32 +01:00
Christoph Hartmann
142976eade update readme 2015-10-27 01:01:42 +01:00
chef-delivery
cdc977a8e6 Merge pull request #159 from chef/jscott/edits
Merged change 54833aa5-1ae3-4a71-937a-58f1d1d5e694

From review branch jscott/edits into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-26 16:50:47 -07:00
jamescott
88ed679572 resource => audit resource 2015-10-26 16:29:57 -07:00
chef-delivery
a0c4df7ab0 Merge pull request #156 from chef/kitchen
Merged change 5ee77960-5074-4d9e-89fc-b2c38e116fd5

From review branch kitchen into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 12:39:52 -07:00
Christoph Hartmann
8738687a89 update to new kitchen-inspect 2015-10-26 19:33:53 +01:00
chef-delivery
7df6dfadee Merge pull request #155 from chef/empty-logger
Merged change 31eafa7a-38d1-4903-84eb-42ecb97f76e5

From review branch empty-logger into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-26 11:32:45 -07:00
Dominik Richter
b280203d03 consistently set an empty logger in non-verbose mode 2015-10-26 18:27:46 +01:00
chef-delivery
040d745de1 Merge pull request #154 from chef/jscott/editresources
Merged change d5d0afee-1500-49de-b7c4-0d8aadfff508

From review branch jscott/editresources into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-26 09:36:18 -07:00
jamescott
2186df2ea4 oops, postgresql only 2015-10-26 09:23:43 -07:00
jamescott
ecb2804529 update query syntax 2015-10-26 09:21:37 -07:00
chef-delivery
91c898e5c4 Merge pull request #153 from chef/dummy-tests
Merged change 6ce18d67-c6d7-4488-89a3-3b48ed93be37

From review branch dummy-tests into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-26 09:20:27 -07:00
Dominik Richter
471a723b83 restore parse_passwd_line to be public, thanks @chris-rock 2015-10-26 17:16:05 +01:00
Dominik Richter
d5973d1189 bugfix: harmonize postgres session handling 2015-10-26 16:59:46 +01:00
Dominik Richter
e76b83a24e bugfix: mysql conf and session handling 2015-10-26 16:58:42 +01:00
Dominik Richter
5485111907 bugfix: support missing conf path for postgres_conf 2015-10-26 16:50:49 +01:00
Dominik Richter
414bf6b1fa bugfix: handle empty processes result 2015-10-26 16:49:26 +01:00