Commit graph

3260 commits

Author SHA1 Message Date
Alex Pop
edf95efbf1 Merge pull request #1262 from chef/chris-rock/slack
Use Slack Badge instead of Gitter badge
2016-10-28 12:02:04 +03:00
Christoph Hartmann
825854d982 Use Slack Badge instead of Gitter badge
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-28 10:45:15 +02:00
Christoph Hartmann
e05155c2d7 Merge pull request #1260 from chef/chris-rock/cleanup
remove accidentally added file
2016-10-27 15:12:40 +02:00
Christoph Hartmann
642e14eff0 remove accidentally added file
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-27 14:59:15 +02:00
Christoph Hartmann
a890f1be5e Merge pull request #1228 from chef/dp_signing
Implements profile signing and verification [Experimental]
2016-10-27 14:57:06 +02:00
Dave Parfitt
51378d326b adds profile signing/verification
Signed-off-by: Dave Parfitt <dparfitt@chef.io>
2016-10-27 14:44:10 +02:00
Christoph Hartmann
0d2cd38344 Merge pull request #1259 from chef/windows-wildcard
Remove wildcard from windows package detection
2016-10-27 14:40:35 +02:00
Christoph Hartmann
9d86f7b022 Fix unit test and activate verbose mock backend to see missing command in cli output
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-27 14:33:34 +02:00
Jonathan Morley
1af7a22991 Remove wildcard from windows package detection
This allows stricter checks on windows software, and keeps it in line with the package resource on other platforms
2016-10-27 14:30:32 +02:00
Christoph Hartmann
efb90c12d2 Merge pull request #1256 from chef/ap/ssl-hang
Fix nil timeout and retries
2016-10-27 10:17:00 +02:00
Alex Pop
08427f1dec fix nil timeout and retries
Signed-off-by: Alex Pop <apop@chef.io>
2016-10-26 20:43:46 +01:00
Jeremy J. Miller
0a042eb360 added 'by_user' example to resource
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Jeremy J. Miller
5494ec0c60 refactored file resource unit tests
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Jeremy J. Miller
3db0deefb1 putting quotes around path in PS command
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Jeremy J. Miller
cda492af96 file/dir permissions for os_prepare file recipe
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Jeremy J. Miller
c4abbed2a6 adding integration test
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Jeremy J. Miller
fe18e3090d implementing changes requested in review
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Jeremy J. Miller
1288f90247 changing module name
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Jeremy J. Miller
5cd9cec0c0 adding by_user permissions support for windows
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2016-10-26 15:57:30 +02:00
Alex Pop
d40ee684f8 supermarket tools get and filter by tool_type (#1254)
Signed-off-by: Alex Pop <apop@chef.io>
2016-10-26 15:42:43 +02:00
Artem Sidorenko
755f24ed6f Code-block directive is not needed here (#1247)
and breaks the layout: http://inspec.io/docs/reference/resources/file/

Signed-off-by: Artem Sidorenko <artem@posteo.de>
2016-10-25 23:26:08 +02:00
Artem Sidorenko
489f314a79 Use include instead of match in the error message (#1248)
as include behaves like contain and not match

Signed-off-by: Artem Sidorenko <artem@posteo.de>
2016-10-25 22:45:57 +02:00
Seth
23456c5e86 Fix issue with registry_key example (#1243)
* Fix issue with registry_key example

* Fix issue with registry_key example

Signed-off-by: Seth Thoenen <seththoenen@gmail.com>
2016-10-25 22:34:30 +02:00
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