Christoph Hartmann
f752d0d4e1
Merge pull request #344 from chef/dr/supports
...
Add `supports` to metadata to specify supported systems
2016-01-02 22:40:35 +01:00
Christoph Hartmann
3be9ea18cc
use 1.8 syntax for dash key values to be compatible with older ruby versions
2016-01-02 22:29:31 +01:00
Christoph Hartmann
167aa6bdfb
add test for unsupported os
2016-01-02 21:27:40 +01:00
Christoph Hartmann
c11c36058a
separate os check
2016-01-02 21:25:22 +01:00
Dominik Richter
d6f48d3534
catch empty support clause
2015-12-31 17:57:59 +01:00
Dominik Richter
af8e4e93ca
add supports keyword to profiles
2015-12-31 17:54:13 +01:00
Dominik Richter
372ccb4e53
add supports RFC to profile docs
2015-12-31 16:30:26 +01:00
Christoph Hartmann
101777f4fb
Merge pull request #342 from chef/dr/metadata
...
Unify metadata and collect it from target resolver
2015-12-31 12:57:39 +01:00
Dominik Richter
2e0da6e9e8
unify metadata resolution
2015-12-31 12:49:18 +01:00
Dominik Richter
3db2dd756d
resolve metadata from profile targets
2015-12-31 12:49:18 +01:00
Dominik Richter
e7b7f166cf
dry folder resolver
2015-12-31 12:49:18 +01:00
Christoph Hartmann
202fa2baf8
Merge pull request #339 from chef/dr/resource-desc
...
add a description for custom resources
2015-12-30 22:05:05 +01:00
Dominik Richter
3c37ed02e0
add example links
2015-12-30 21:55:23 +01:00
Dominik Richter
67a4ff08b6
Merge pull request #340 from chef/chris-rock-patch-1
...
Update list of examples
2015-12-30 21:46:31 +01:00
Christoph Hartmann
73b366b16a
Update list of examples
2015-12-30 21:40:57 +01:00
Dominik Richter
3ed1ebeb9e
add a description for custom resources
2015-12-29 21:05:22 +01:00
Christoph Hartmann
246ae0eca5
Merge pull request #337 from chef/dr/reload-dsl
...
Fix custom resource loading from `libraries`
2015-12-29 21:01:16 +01:00
Dominik Richter
96c9794cbf
bugfix: reload inspec DSL after loading libraries
2015-12-29 19:27:00 +01:00
Dominik Richter
91de112f9b
Merge pull request #252 from chef/profile-structure
...
RFC: Compliance Profile Structure
2015-12-28 13:47:03 +01:00
Dominik Richter
526932584d
fix metadata validation
2015-12-28 13:35:38 +01:00
Dominik Richter
cfa2b9a39c
fix metadata reading and parsing
2015-12-28 13:16:09 +01:00
Dominik Richter
cdc95df5ca
keep metadata checks in metadata.rb
2015-12-28 13:07:21 +01:00
Dominik Richter
84882e851b
rename example controls
...
consistency with RFC readme
2015-12-28 13:06:38 +01:00
Dominik Richter
aef0cabde8
fix method length in inspec.check
2015-12-28 13:01:27 +01:00
Dominik Richter
e5d424674c
add standalone notice and remove filename pattern for controls
2015-12-28 12:53:42 +01:00
Dominik Richter
95382b5363
restructure profiles RFC document
2015-12-28 12:53:42 +01:00
Christoph Hartmann
a97b05bfc6
remove namespace form inspec.yml example
2015-12-28 12:53:42 +01:00
Christoph Hartmann
0ab46ff5b1
rename metadata.yml
to inspec.yml
2015-12-28 12:53:42 +01:00
Christoph Hartmann
1d4295ee4d
remove owner/name restriction
2015-12-28 12:53:42 +01:00
Christoph Hartmann
c1d2970c4a
add documentation for manifest
2015-12-28 12:53:42 +01:00
Christoph Hartmann
06c1265b38
add support for .tgz extension. Thanks @srenatus
2015-12-28 12:53:42 +01:00
Christoph Hartmann
ec4286d4ee
docs: use tar.gz as default
2015-12-28 12:53:42 +01:00
Christoph Hartmann
31c8509092
lint profile implementation
2015-12-28 12:53:42 +01:00
Christoph Hartmann
efeef13d5f
feature: add example profile
2015-12-28 12:53:42 +01:00
Christoph Hartmann
42a102e3b4
docs: add documentation for profiles
2015-12-28 12:53:42 +01:00
Christoph Hartmann
27150e5341
feature: generate profile archive
2015-12-28 12:53:42 +01:00
Christoph Hartmann
9da0e32f3d
bugfix: only add path to load path if the test is located on filesystem
2015-12-28 12:53:42 +01:00
Christoph Hartmann
ebe54efd67
feature: load tests from zip and tar.gz
2015-12-28 12:53:42 +01:00
Christoph Hartmann
43c778078c
feature: add support for metadata.yml
2015-12-28 12:53:42 +01:00
Christoph Hartmann
9e8e64319e
improvement: better detection of directory types
2015-12-28 12:53:42 +01:00
Christoph Hartmann
bb97044338
bugfix: fix profile check
2015-12-28 12:53:38 +01:00
Christoph Hartmann
9fda6d3e89
bugfix: use skip_control
instead of skip_rule
as default
2015-12-28 12:07:57 +01:00
Christoph Hartmann
e122e48ae5
change profile directory from 'test' to 'controls'
2015-12-28 12:07:57 +01:00
Stephan Renatus
f70c6acb8f
Merge pull request #332 from chef/dr/check-non-controls
...
ignore auto-generated controls during verify check
2015-12-23 11:48:28 +01:00
Dominik Richter
7473dea1f2
ignore auto-generated controls during verify check
2015-12-23 11:11:49 +01:00
Stephan Renatus
ce8786bfbc
Merge pull request #330 from chef/dr/metadata-ref
...
Verify profile metadata contents correctly
2015-12-23 09:28:51 +01:00
Dominik Richter
b2e0fac625
change check errors on summary+title to warnings
2015-12-23 09:18:59 +01:00
Dominik Richter
d2509f745e
reference correct fields from metadata in inspec check
2015-12-23 09:18:59 +01:00
Christoph Hartmann
67306a0ed3
Merge pull request #331 from rbhitchcock/master
...
Set exit status to return value of Inspec Runner
2015-12-22 17:20:32 +01:00
Blake Hitchcock
10fb57f6a5
Set exit status to return value of Inspec Runner
...
When invoking inspec using ```inspec exec PATH```, the script always
exits with a 0 status code. This pull request proposes to exit with the
same status code as the Inspec Runner. This behavior is consistent with
how testing platforms of this type typically work.
2015-12-22 09:44:09 -05:00