Commit graph

3260 commits

Author SHA1 Message Date
Christoph Hartmann
bc7d176624 Merge pull request #1303 from burtlo/docs-resources-fixes
Fixes resources in the docs
2016-11-20 10:59:38 -07:00
jkerry
e5038e1e5d adding a shell extension class of the rspec_junit_formatter gem formatter and including it in the formatters list with key 'junit'
Signed-off-by: jkerry <john@kerryhouse.net>
2016-11-20 00:18:34 -05:00
Franklin Webber
a9726910ff Fixes resources in the docs
* Fixes the npm package example to state 'npm' vs 'gem'
* Fixes powershell resource to specify the resource instead of 'script'
* Updates the example to rename variable 'script'

While ruby would allow the local variable and the presence of the InSpec method at the same time I think that it is bad form. Other resource examples also use 'script'.

* Changes pip to show generic example

Other package like resources show a generic example in the default.

Signed-off-by: Franklin Webber <franklin@chef.io>
2016-11-19 17:57:03 -08:00
Alex Pop
deff8c9e6e Merge pull request #1296 from chef/ap/fix-version-docs
docs: quoted version for package resource example
2016-11-17 11:29:13 +00:00
Alex Pop
c94407ca2c docs: quoted version for package resource example
Signed-off-by: Alex Pop <apop@chef.io>
2016-11-16 11:24:19 +00:00
Christoph Hartmann
ec769571d1 Merge pull request #1289 from robbkidd/supermarket-search-by-type
update supermarket profile search to use new type param
2016-11-12 15:10:36 -06:00
Robb Kidd
ae474b894e update supermarket profile search to use new type param
Reverts the work-around that pulls down the latest 100 tools
and filters for type == 'compliance_profile' in the client.

Go back to using tool-search with the new type parameter.

Omit start:0 because that's the default.

Keep the number of items returned at 100, which is more than the
default 10.

Signed-off-by: Robb Kidd <robb@thekidds.org>
2016-11-12 15:45:19 -05:00
Dominik Richter
f1eb5f113d Merge pull request #1291 from chef/chris-rock/use-vendor-cache
copy vendored dependencies into cache
2016-11-09 13:05:09 -05:00
Christoph Hartmann
fef4f9447b add functional tests
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-09 11:49:51 -06:00
Christoph Hartmann
793f842e33 copy vendored dependencies into cache
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-09 11:49:51 -06:00
Christoph Hartmann
bf8ec8348d Merge pull request #1290 from chef/chris-rock/fix-double-log
fix double-log-level
2016-11-09 11:36:11 -06:00
Christoph Hartmann
2c75a2c8db Merge pull request #1280 from grimm26/apt
improved regex for matching deb sources
2016-11-09 11:19:13 -06:00
Mark Keisler
bd33aa7175 improved regex for matching deb sources
also added tests.
Signed-off-by: Mark Keisler <mark@mitsein.net>
2016-11-09 11:10:46 -06:00
Christoph Hartmann
1a01eac776 fix double-log-level
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-09 10:05:38 -06:00
Dominik Richter
caf6df4fd8 Merge pull request #1285 from chef/chris-rock/vendor-cli
improve vendor command
2016-11-09 10:38:06 -05:00
Christoph Hartmann
66449cae32 add functional tests
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-09 09:12:10 -06:00
Christoph Hartmann
3bdf1952b4 improve inspec vendor cli to vendor dependent profile in vendor directory
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-09 09:12:01 -06:00
Christoph Hartmann
824a8f778f Merge pull request #1286 from jerryaldrichiii/correct-inpsec-typo
Change `Inpsec` to `Inspec`
2016-11-09 08:30:15 -06:00
Jerry Aldrich III
cafa35e5ce Change Inpsec to Inspec
Signed-off-by: Jerry Aldrich III <jerry@chef.io>
2016-11-08 11:20:32 -06:00
Christoph Hartmann
542da4f7fb 1.4.1 2016-11-04 18:20:36 +01:00
Christoph Hartmann
8d97871f57 Merge pull request #1258 from chef/chris-rock/fix-attributes-in-dependencies
Fix attributes in profile dependencies
2016-11-04 18:15:32 +01:00
Christoph Hartmann
4b22400012 update functional tests
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-04 18:01:28 +01:00
Christoph Hartmann
4668403519 pass attributes to dependent profiles
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-04 18:01:28 +01:00
Christoph Hartmann
7694a1a3a3 use symbol for attribute accessors 2016-11-04 16:03:21 +01:00
Christoph Hartmann
1ff690b0cc update example, how to pass attributes for dependencies 2016-11-04 15:35:08 +01:00
Christoph Hartmann
0cdd2a1611 1.4.0 2016-11-04 10:33:38 +01:00
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