Commit graph

1066 commits

Author SHA1 Message Date
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
Dominik Richter
ec6d1e680a support postgres_session resource 2015-10-26 16:47:45 +01:00
Dominik Richter
ee0e9fc7c1 mock outer dsl attributes method 2015-10-26 16:44:20 +01:00
Dominik Richter
1613add894 bugfix: group policy needs a name for init 2015-10-26 16:40:21 +01:00
Dominik Richter
6dc0a3b638 rename inetd_config -> inetd_conf
be consistent with the filename
2015-10-26 16:21:51 +01:00
Dominik Richter
0ac3c412aa bugfix: support empty content in simpleconfig 2015-10-26 16:16:42 +01:00
Dominik Richter
03fe892899 bugfix: handle empty parseconfig options 2015-10-26 16:13:48 +01:00
Dominik Richter
69be6acae8 bugfix: fail on missing access to /etc/group 2015-10-26 16:11:28 +01:00
Dominik Richter
95242bf9c2 add content parser tests 2015-10-26 15:50:57 +01:00
chef-delivery
c8bba59588 Merge pull request #152 from chef/bugfix-folder-prefix
Merged change 33f7c27a-e599-4c6d-b16b-8d9442271410

From review branch bugfix-folder-prefix into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-26 05:09:09 -07:00
Dominik Richter
9d1dcef469 bugfix: remove '/' prefix from folder 2015-10-26 13:06:44 +01:00
chef-delivery
e8cb5b86c2 Merge pull request #151 from chef/inspec
Merged change 229d87e5-ca08-465a-8b24-769e39b8e5b8

From review branch inspec into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-26 04:50:42 -07:00
Dominik Richter
f2f265a01a temporarily remove kitchen inspec until it is moved 2015-10-26 12:48:09 +01:00
Dominik Richter
090281fb0b lint 2015-10-26 12:34:35 +01:00