Commit graph

2894 commits

Author SHA1 Message Date
Christoph Hartmann
46d193ebfe set code color for tutorial 2016-09-26 15:42:46 +02:00
Dominik Richter
d00198819f Merge pull request #1164 from chef/chris-rock/omnibus_images
update omnibus images
2016-09-26 15:42:28 +02:00
Christoph Hartmann
59c44f86cd update omnibus images 2016-09-26 15:29:27 +02:00
Christoph Hartmann
843a299553 Merge pull request #1160 from chef/ssd/require_controls_fix
Fix require_controls DSL method
2016-09-26 15:28:39 +02:00
Christoph Hartmann
549649e07a Merge pull request #1162 from chef/dr/www-community-page-links
fix buttons on community page
2016-09-26 15:26:56 +02:00
Steven Danna
7aa4c6da8e Fix require_controls DSL method
Previous, require_controls was including all controls from the named
profile, despite the documented behavior being that it only includes
controls explicitly pulled in by the user.  The cause was two-fold:

1) A previous refactor meant that we weren't removing the rule from the
correct context, and

2) We weren't descending down the dependency tree when filtering rules.

This commit fixes the require_controls DSL method and adds a test to
help prevent future regressions.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 15:20:56 +02:00
Dominik Richter
44ba4ccbad fix buttons on community page
part of https://github.com/chef/inspec/issues/1114
2016-09-26 15:18:45 +02:00
Christoph Hartmann
0ed416a25f Merge pull request #1161 from chef/dr/css-styling-community
fix alignment of community buttons
2016-09-26 15:17:59 +02:00
Dominik Richter
4f98fb8a5a fix alignment of community buttons
... and center them, see https://github.com/chef/inspec/issues/1114\#issuecomment-249526810
2016-09-26 15:06:24 +02:00
Christoph Hartmann
01b3440681 Merge pull request #1158 from chef/ssd/require-resource-doc
Document the require_resource function
2016-09-26 13:17:11 +02:00
Steven Danna
3507c970a9
Document the require_resource function
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 11:53:33 +01:00
Christoph Hartmann
5cbd6ebaf3 Merge pull request #1154 from chef/dr/readme-link
fix outdated link in readme
2016-09-26 12:50:45 +02:00
Dominik Richter
b085151166 fix outdated link in readme
Kudos @rhass for finding this!
Fixes https://github.com/chef/inspec/issues/1136
2016-09-26 12:24:01 +02:00
Christoph Hartmann
a0330a5024 Merge pull request #1157 from chef/dr/css-doc-search
fix css in docs search
2016-09-26 12:23:19 +02:00
Dominik Richter
debfa6ade9 fix css in docs search
Handles https://github.com/chef/inspec/issues/1114\#issuecomment-249525984
2016-09-26 12:18:37 +02:00
Christoph Hartmann
7030f9b856 Merge pull request #1156 from chef/dr/release-www
update www readme for releasing the site
2016-09-26 12:13:36 +02:00
Dominik Richter
ba3ffc850d update www readme for releasing the site
it got much simpler this morning; this is 3am-safe now (unless you added garbage to the site, in which case there is nothing we can do... This automation protects you from human mistakes during the build and release process only).
2016-09-26 12:05:25 +02:00
Christoph Hartmann
d4c12b4037 Merge pull request #1155 from chef/ssd/sysinfo_typo
Fix minor typo in sys_info documentation
2016-09-26 12:04:43 +02:00
Steven Danna
57ff8c5e3c
Fix minor typo in sys_info documentation
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 10:56:16 +01:00
Christoph Hartmann
66337be2af Merge pull request #1141 from chef/ssd/version-1-lockfile
Bump lockfile version to 1.0
2016-09-26 11:14:55 +02:00
Steven Danna
f23a0d1098
Bump lockfile version to 1.0
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 09:51:04 +01:00
Christoph Hartmann
3072c4c91d Merge pull request #1153 from chef/dr/www-cleanup
fix minor website bugs
2016-09-26 10:50:17 +02:00
Dominik Richter
0e7ca5cc3d build docs for www/ 2016-09-26 07:03:37 +02:00
Dominik Richter
0748160570 fix tutorials link on docs index 2016-09-26 06:58:41 +02:00
Dominik Richter
32066d3e53 embed all responses into the tutorial 2016-09-26 06:53:01 +02:00
Dominik Richter
9474d02c83 stop scrolling, it messes with the homepage 2016-09-26 06:42:05 +02:00
Dominik Richter
aa35ac1ffa fix link to tutorials 2016-09-26 06:42:05 +02:00
Dominik Richter
b8e9c82709 Merge pull request #1152 from chef/dr/www-task
clean www before releasing
2016-09-26 06:41:27 +02:00
Dominik Richter
d74b07a5f5 clean www before releasing 2016-09-26 06:35:20 +02:00
Dominik Richter
4d54d333ed Merge pull request #1151 from chef/dr/www-docs
add docs to the website
2016-09-26 06:30:16 +02:00
Dominik Richter
8d3d253bf0 add search 2016-09-26 06:21:05 +02:00
Dominik Richter
7d97ab6d6c compensate for the intro page of docs 2016-09-26 06:21:05 +02:00
Dominik Richter
babbf71dd1 add intro to inspec and friends 2016-09-26 06:21:05 +02:00
Dominik Richter
98c8f35a60 switch to redcarpet for rendering
to support proper markdown functionality, see github markdown for reference
2016-09-26 06:21:05 +02:00
Dominik Richter
27fcb29394 point download page to the right destination 2016-09-26 06:21:05 +02:00
Dominik Richter
244944c798 update styling for docs 2016-09-26 06:21:05 +02:00
Dominik Richter
af92ae559f rake to render all docs to www/ correctly with links 2016-09-26 06:21:05 +02:00
Dominik Richter
7e7b42735a introduce separate nav for docs in www/ 2016-09-26 06:21:05 +02:00
Christoph Hartmann
511b084078 Merge pull request #1126 from chef/ssd/better-compliance-errors
Improve error messages from compliance fetcher
2016-09-26 02:05:23 +02:00
Steven Danna
76ef897d80 Improve error messages from compliance fetcher
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 01:57:58 +02:00
Dominik Richter
d0b88ccce2 Merge pull request #1150 from chef/chris-rock/prevent-false-positives-security-policy
return empty array for known privileges
2016-09-26 01:56:11 +02:00
Christoph Hartmann
2aab753d9b return empty array for known privileges 2016-09-26 01:48:59 +02:00
Christoph Hartmann
cd5905c2cf Merge pull request #1149 from chef/chris-rock/win-user-improve
replace wmi win32_useraccount with adsi users
2016-09-26 01:40:45 +02:00
Christoph Hartmann
dab8ff5c13 replace wmi win32_useraccount with adsi users 2016-09-26 01:31:44 +02:00
Christoph Hartmann
a588c7599e Merge pull request #1148 from nvtkaszpir/patch-2
Extend example for parse_config.rb
2016-09-26 01:30:58 +02:00
Christoph Hartmann
3bc7fa3a39 remove whitespace 2016-09-26 01:29:18 +02:00
Michał Sochoń
cdf6f647ac Update parse_config.rb
Extend example section.
2016-09-25 14:02:40 +02:00
Christoph Hartmann
1768d952a4 1.0.0.beta3 2016-09-25 13:27:25 +02:00
Maggie Walker
7eeb3c83db Merge pull request #1144 from chef/mw/copy-edits
Website: Minor edits in preparation for launch
2016-09-23 16:42:54 -07:00
Scott Hain
f41458ee32 Merge pull request #1145 from chef/shain/windows_build_support
Enable builds on both Windows and *nix
2016-09-23 16:27:42 -07:00