Commit graph

2987 commits

Author SHA1 Message Date
Chris Wessells
64b3461070 Accessing nested mappings in a yam file (#1242)
* While working with mongod.conf file I spent hours trying to figure out how to access nested mappings.  When I read the code it used keys.shift to traverse the yaml object.  I tried changing to an array and voila I was able to access nested mappings.  I wanted to document my findngs and suggest an update to inspec.io but couldn't find a place to contact someone for the suggestion.

* Added additional details regarding the formatting of the example.

Signed-off-by: Chris Wessells <cwessells@silvervue.com>
2016-10-25 22:33:23 +02:00
Christoph Hartmann
b4c6534e5a Merge pull request #1245 from artem-sidorenko/rvm-files
Ignore RVM files
2016-10-25 22:32:38 +02:00
Ryan Keairns
d92077c19c Set the global message to display again (#1246)
* change global message on site

Signed-off-by: Ryan Keairns <rkeairns@chef.io>

* incrementing the message id to re-enable the display

Signed-off-by: Ryan Keairns <rkeairns@chef.io>
2016-10-25 15:04:41 -05:00
Artem Sidorenko
154e23ebab Ignore RVM files
For the case somebody is using RVM for inspec development
with different environments (rubies/gemsets)
2016-10-25 21:59:04 +02:00
Ryan Keairns
2c0c627ddd change global message on site (#1244)
Signed-off-by: Ryan Keairns <rkeairns@chef.io>
2016-10-25 14:45:07 -05:00
Christoph Hartmann
d00b30f90f Merge pull request #1232 from chef/ap/fix-amend
DOCS: fix commit amend dash
2016-10-20 20:02:30 +02:00
Alex Pop
d7bbe2cac5 fix commit amend dash
Signed-off-by: Alex Pop <apop@chef.io>
2016-10-20 19:46:28 +02:00
Christoph Hartmann
f19c87d8e0 Merge pull request #1231 from nathenharvey/nathen/fix_markdown_underscores
Headers and list elements that include more than one `_` character we…
2016-10-20 19:45:57 +02:00
Christoph Hartmann
3fbdf49b06 Merge pull request #1233 from swalberg/patch-1
Fix broken link in README.md
2016-10-20 19:41:41 +02:00
Sean Walberg
d4c887704a Fix broken link in README.md
Link pointed to the right doc but the wrong extension.

Obvious fix.

Signed-off-by: Sean Walberg <sean@ertw.com>
2016-10-20 12:42:15 -04:00
Nathen Harvey
7e4157ddf4 Headers and list elements that include more than one _ character were being rendered incorrectly. (Perhaps it is only when there are an even number but in any case I only found words with either one or two _s.)
The html rendered from markdown would look like:

`<h3>be<em>grouped</em>into</h3>`

When there is only one `_` the html rendered correctly:

`<h3>be_directory</h3>`

This change escapes the `_` when there are multiple.

* New markdown:  `### be\_grouped\_into`
* New html:      `<h3>be_grouped_into</h3>`

resource matchers fixed:
* be_block_device
* be_character_device
* be_grouped_into
* be_linked_to
* be_owned_by
* have_app_pool
* have_property_value

resource fixed:
* parse_config_file

Signed-off-by: Nathen Harvey <nharvey@chef.io>
2016-10-20 07:07:18 -04:00
Alex Pop
5bca878ecc Merge pull request #1220 from chef/chris-rock/extend-attribute-object
extend the attributes object with helper methods
2016-10-18 16:27:38 +01:00
Christoph Hartmann
c67ff8b4a2 extend the attributes object with helper methods
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-18 17:17:00 +02:00
Alex Pop
41d31163ac Merge pull request #1225 from alexpop/ag-ap/processes-user-comm
Fix processes resource user and command truncation
2016-10-18 10:12:59 +01:00
victoria jeffrey
b8e2ccfc55 Merge pull request #1224 from chef/chris-rock/dco
Document new DCO process
2016-10-17 12:26:50 -04:00
Alex Pop
70416a35b4 use command instead of comm and set user column width on linux
Signed-off-by: Alex Pop <apop@chef.io>
2016-10-17 15:39:13 +01:00
Christoph Hartmann
774386047f update contributing.md to reflect new DCO process and remove content available at our website
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-17 13:33:46 +02:00
Anirudh Gupta
8efec7ac6c fix processes resource for os's where username is long to avoid truncation 2016-10-17 11:46:16 +01:00
Dominik Richter
0ac1467ac1 1.2.1 2016-10-15 11:42:55 -07:00
Dominik Richter
c3a3c57dcd Merge pull request #1221 from chef/dr/train-update
update train to fix empty target URIs
2016-10-15 08:17:49 -07:00
Dominik Richter
46d9d39e8d update train to fix empty target URIs 2016-10-15 07:12:01 -07:00
Dominik Richter
ac24bbaa3d Merge pull request #1211 from chef/ap/cmp-inspect
Show actual value for cmp octal comparisons in string to match expected
2016-10-13 08:27:58 -07:00
Alex Pop
5d51b7a0aa dot inspect actual value to match the expected string one 2016-10-13 07:13:51 -07:00
Dominik Richter
7168e3ac99 Merge pull request #1213 from chef/vj/fix-1187
fix kitchen-inspec integration-1187
2016-10-13 07:13:28 -07:00
Victoria Jeffrey
ae8ba9ca9f fix kitchen-inspec integration-1187 2016-10-13 06:45:24 -07:00
Dominik Richter
c4cc971e5d Merge pull request #1216 from chef/dp/habitat-843
move Inspec Habitat package to chef/inspec.
2016-10-13 06:24:57 -07:00
Dave Parfitt
5231a0dc43 move Inspec Habitat package to chef/inspec.
NOTE: The existing `core/inspec` package (version 0.27.0) cannot be removed
from the public Habitat depot.
2016-10-12 15:03:24 -04:00
Maggie Walker
213da500c7 Merge pull request #1210 from chef/mw/fix-image
Website: Fix typo in homepage code image
2016-10-10 09:44:27 -07:00
Maggie Walker
37a7f3d35f Website: Fix typo in homepage code image 2016-10-10 09:33:04 -07:00
Dominik Richter
11b58efa2f 1.2.0 2016-10-10 06:56:09 -07:00
Dominik Richter
6e1ffb4890 Merge pull request #1204 from chef/ap/cmp-desc
cmp code_desc missing operation and expected valid
2016-10-10 06:12:37 -07:00
Alex Pop
de58a2588d fix cmp code description 2016-10-10 05:40:22 -07:00
Alex Pop
6719cf544d add tests for cmp output 2016-10-10 05:40:22 -07:00
Dominik Richter
2631b3f7a9 Merge pull request #1209 from artem-sidorenko/linuxmint
Support of Linux Mint
2016-10-10 05:38:58 -07:00
Artem Sidorenko
77738dd895 Some further tests for Mint 2016-10-08 23:34:56 +02:00
Artem Sidorenko
aa725fe2df Linux Mint support for service resource 2016-10-08 23:34:56 +02:00
Dominik Richter
4ee32ebac4 Merge pull request #1159 from chef/chris-rock/tutorial-response-filename-length
tutorial response filename length
2016-10-06 13:40:52 +02:00
Victoria Jeffrey
4f1d085bf2 re-generate responses 2016-10-06 13:32:53 +02:00
Christoph Hartmann
95bad32c92 limit length of simulator files 2016-10-06 13:32:53 +02:00
Dominik Richter
3588526768 Merge pull request #1206 from chef/vj/fix-backspace-bug
fix backspace bug
2016-10-06 12:57:48 +02:00
Victoria Jeffrey
ab38319e3b fix backspace bug 2016-10-06 12:49:01 +02:00
Dominik Richter
e6c390178a Merge pull request #1191 from chef/vj/babelify-scripts
es5. that is a thing.
2016-10-06 12:38:22 +02:00
Victoria Jeffrey
8b4b915845 es5, es6, and typings, ohmy! (fix safari es5/es6 bug) 2016-10-06 12:25:53 +02:00
Dominik Richter
4b032a2b42 1.1.0 2016-10-05 15:28:22 +02:00
Dominik Richter
4d8a272d30 Merge pull request #1192 from cvent/shell
Add shell options
2016-10-05 15:11:24 +02:00
Dominik Richter
86b8e2f5f0 Merge pull request #1199 from chef/ap/registry_key-exist
Missing registry keys should not exist
2016-10-05 15:04:31 +02:00
Alex Pop
10116724fc Missing registry keys should not exist 2016-10-05 14:55:04 +02:00
Alex Pop
de8056eee6 Merge pull request #1202 from chef/dr/mock-backend
use mock backend for inspec vendor/check/json
2016-10-05 13:43:18 +01:00
Dominik Richter
f6ddbea363 use mock backend for inspec vendor/check/json
we dont run these against a real backend
2016-10-05 14:29:08 +02:00
Alex Pop
78b02c754d Merge pull request #1201 from chef/dr/empty-filter
bugfix: support nil entries in filter table
2016-10-05 13:12:35 +01:00