Commit graph

3234 commits

Author SHA1 Message Date
Christoph Hartmann
e424a4b7fb Merge pull request #1278 from chef/chris-rock/file-integration-tests
activate file integration tests in docker
2016-11-04 10:09:57 +01:00
Christoph Hartmann
7d7e1efef3 move file mount test to mount_spec.rb
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-03 22:23:50 +01:00
Christoph Hartmann
e78d682c24 activate file integration tests in docker
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-03 22:13:45 +01:00
Christoph Hartmann
64ce762d6d Merge pull request #1276 from artem-sidorenko/include-matcher
Contain matcher maps to include matcher with warning
2016-11-03 22:07:23 +01:00
Christoph Hartmann
6a1ed49bd6 Merge pull request #1274 from hj70ft/hj70ft/windowsservice-enabledcheck-fix
Windows Service Check for service enabled state.
2016-11-03 21:59:06 +01:00
Christoph Hartmann
7dbc9e228f Merge pull request #1273 from chef/chris-rock/fix-file-permission
fix file permission check by mask
2016-11-03 21:58:39 +01:00
Artem Sidorenko
9d766252f7 Contain matcher maps to include matcher with warning
to allow easier migration from serverspec, where contain
matcher is used often

Signed-off-by: Artem Sidorenko <artem@posteo.de>
2016-11-03 20:58:34 +01:00
Douglas
5e56bd4635 Updated Windows Service check for Enabled state to allow both Auto and
Manual to be considered valid states for a service to be enabled.

Signed-off-by: Douglas <bdougl6@ms.ds.uhc.com>
2016-11-03 11:28:38 -05:00
Christoph Hartmann
0eb9de0089 fix file permission check by mask
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-03 12:46:48 +01:00
Alex Pop
5624579441 Merge pull request #1272 from chef/chris-rock/1226
fix #1226
2016-11-03 10:52:36 +00:00
Christoph Hartmann
a95f0cf116 fix #1226
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-03 00:32:31 +01:00
Christoph Hartmann
408a180514 Merge pull request #1271 from jerearista/feature-json-content
Enable the json resource to accept command output or JSON content
2016-11-02 21:30:21 +01:00
Jere Julian
f8a9eab443 Change path to opts
Signed-off-by: Jere Julian <jere@arista.com>
2016-11-02 16:04:59 -04:00
Jere Julian
0565d9084b Update example
Signed-off-by: Jere Julian <jere@arista.com>
2016-11-02 14:44:13 -04:00
Jere Julian
a2dd8fe791 Add examples
Signed-off-by: Jere Julian <jere@arista.com>
2016-11-02 13:21:46 -04:00
Jere Julian
d855b5e7a7 Add support for JSON blobs and commands that produce JSON output.
Signed-off-by: Jere Julian <jere@arista.com>
2016-11-02 12:25:26 -04:00
Christoph Hartmann
8067eca5b9 Merge pull request #1263 from anniehedgpeth/anniesnewtutorials
Added tutorials for Days 8 & 9
2016-11-02 11:49:57 +01:00
anniehedgpeth
69167cf173 fixed wrong dates
Signed-off-by: anniehedgpeth <annie.hedgpeth@gmail.com>
2016-11-01 15:25:29 -05:00
anniehedgpeth
b688994604 added tutorials for day 8 & 9
Signed-off-by: anniehedgpeth <annie.hedgpeth@gmail.com>
2016-11-01 15:05:59 -05:00
anniehedgpeth
a98dfc93e9 merged latest master 2016-11-01 15:00:03 -05:00
anniehedgpeth
22916a8564 Added tutorials for Days 8 & 9
Signed-off-by: anniehedgpeth <annie.hedgpeth@gmail.com>
2016-11-01 14:45:25 -05:00
Christoph Hartmann
83a860c039 1.3.0 2016-10-28 15:35:36 +02:00
Alex Pop
9f7216ce26 Merge pull request #1257 from chef/chris-rock/inetd-exec
overwrite exec for inetd because respec its is executing `exec`
2016-10-28 12:19:28 +03:00
Christoph Hartmann
a25d3e8fae overwrite exec for inetd because respec its is executing exec
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-28 12:10:45 +03:00
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