Commit graph

3315 commits

Author SHA1 Message Date
Dominik Richter
15753aec16 add readme to www-build 2016-09-21 18:16:09 +02:00
Christoph Hartmann
70fa1dde73 Merge pull request #1113 from chef/ssd/customcache
Add `--cache` option to `inspec exec`
2016-09-21 15:19:18 +02:00
Steven Danna
2d28c786c3
Add --cache option to inspec exec
This allows users to run:

  inspec exec ./ --cache PATH

which will use `PATH` as the dir to retrieve and store remote
dependencies.  The hope is that this can eventually be used with
`inspec vendor PATH` to package up a profile for offline use.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-21 14:10:27 +01:00
Steven Danna
c4e72490ce Merge pull request #1112 from chef/chris-rock/fix-space-pip
fix double-space in pip to_s resource
2016-09-21 11:52:53 +01:00
Christoph Hartmann
85aae8d29f fix double-space in pip to_s resource 2016-09-21 12:02:36 +02:00
Christoph Hartmann
a63149a5b6 Merge pull request #1103 from chef/ssd/check-checksum
Fail if a remote source content doesn't match lockfile
2016-09-21 12:00:47 +02:00
Steven Danna
8d63db9a2b
Change :shasum key to :sha256 for future upgrade
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-21 10:51:04 +01:00
Steven Danna
6814d6ad2b
Fail if a remote source content doesn't match lockfile
If a URL based source does not match the shasum recorded in the
lockfile, it likely means a new version has been pushed to the remote
source. In this case, we fail to help ensure that when using a lockfile
we always run the same code as when the lockfile was created.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-21 10:15:52 +01:00
Christoph Hartmann
8839d2d9a6 Merge pull request #1110 from chef/mw/footer
Add main site footer
2016-09-21 10:57:46 +02:00
Maggie Walker
d9677c9af3 Add main site footer 2016-09-21 10:43:33 +02:00
Christoph Hartmann
28dcf11a14 Merge pull request #1111 from Anirudh-Gupta/master
fixes debian package manager and some of the code examples
2016-09-21 10:41:26 +02:00
Anirudh Gupta
a355af670f fixup! fixing the debian package manager - when the package is removed but not purged 2016-09-21 13:41:59 +05:30
Anirudh Gupta
024027a3a1 fixing the debian package manager - when the package is removed but not purged 2016-09-21 13:11:23 +05:30
Anirudh Gupta
1cfa3252ce making the examples in the code consistent with rst docs 2016-09-21 11:33:17 +05:30
Christoph Hartmann
181ff77625 Merge pull request #1106 from chef/ap/match-param
Use parenthesis when passing regular expressions
2016-09-21 01:34:56 +02:00
Alex Pop
161386f50d Use parenthesis when passing regular expressions 2016-09-21 00:51:23 +02:00
Christoph Hartmann
a00ddfcfdf Merge pull request #1108 from chef/mw/community-and-tutorials
Add community and tutorials pages
2016-09-21 00:50:34 +02:00
Maggie Walker
d9d59bd4f1 Add community page content and styles 2016-09-20 15:22:06 -07:00
Maggie Walker
a401012a64 Add tutorials page content and styles 2016-09-20 13:45:31 -07:00
Maggie Walker
d8e844c084 Merge pull request #1107 from chef/mw/homepage
Add homepage content and styles
2016-09-20 13:08:55 -07:00
Maggie Walker
4c56c4b533 Fix typo 2016-09-20 12:58:14 -07:00
Maggie Walker
b7d1f933be Add homepage content and styles 2016-09-20 11:51:41 -07:00
Maggie Walker
725e0a1bc5 Merge pull request #1105 from chef/mw/styling-setup
Styling setup and main navigation
2016-09-20 09:52:06 -07:00
Maggie Walker
f79ec02efc Add main site navigation
Also includes integration of Font awesome icons.
2016-09-20 09:23:34 -07:00
Maggie Walker
6c8a5c392f Activate sprockets, downgrade to working version of jQuery
The 3.1.0 version of jQuery that we had previously included was
throwing errors; this downgrades to the version of jQuery that
was shipped with the version of Foundation that is in the project.
2016-09-20 09:23:34 -07:00
Maggie Walker
015d2c028a Add basic button styling 2016-09-20 09:23:34 -07:00
Maggie Walker
3cab7637c7 Fix typos in font paths 2016-09-20 09:23:34 -07:00
Maggie Walker
5299a8d141 Add global site settings for color and font families 2016-09-20 09:23:33 -07:00
Maggie Walker
8eaa6956cf Add custom fonts
Add Roboto for body copy and Jaapokki/Jaapokki alternates for
headings.
2016-09-20 09:23:33 -07:00
Maggie Walker
8efd59016c Add jQuery/Foundation, remove old styles
Resetting the styles to the new site baseline using jQuery and
Foundation (using a custom build of Foundation to get only the
pieces that we need).
2016-09-20 09:23:33 -07:00
Christoph Hartmann
cbe28b8295 Merge pull request #1042 from davidcpell/support-absolute-paths-in-apache_conf
In ApacheConf#include_files, check for abs paths
2016-09-20 16:03:12 +02:00
David Pell
155995adfd In ApacheConf#include_files, check for abs paths
If the path is absolute, just use what was passed, otherwise build an
absolute path using `@conf_dir`.

Fixes #1013
2016-09-20 09:11:09 -04:00
Christoph Hartmann
407ab9cb2e Merge pull request #1104 from chef/dr/docs
docs task and rst/md formatter separation
2016-09-20 14:08:33 +02:00
Dominik Richter
31da5881ec add metadata to markdown 2016-09-20 13:58:20 +02:00
Dominik Richter
59673f5069 added markdown to docs generation 2016-09-20 13:33:24 +02:00
Dominik Richter
305ca04f65 separate docs RST formatter 2016-09-20 13:18:20 +02:00
Christoph Hartmann
e16a7e8ab4 Merge pull request #1096 from chef/ap/fix-fail-message
Include code description in the output of failed controls
2016-09-20 11:24:07 +02:00
Alex Pop
e1faebd527 Include code description in the output of failed controls 2016-09-20 10:10:08 +01:00
Christoph Hartmann
370a4c75b5 Merge pull request #1094 from chef/vj/fix-demo-instructions
fix demo instructions
2016-09-20 09:58:38 +02:00
Victoria Jeffrey
895954f1f5 fix counting on instructions 2016-09-20 00:15:55 +02:00
Christoph Hartmann
47527ef4e5 Merge pull request #1095 from chef/ap/fix-password-login
Update the username and password login method
2016-09-20 00:10:32 +02:00
Alex Pop
624849d418 removed unsupported legacy login and replaced it with the current username/password login option. a bit of refactoring around error checking and error/success output content 2016-09-19 23:08:42 +02:00
Christoph Hartmann
b2dfeaeffd Merge pull request #1099 from chef/yzl/fix_omnibus_build
Build with master of omnibus
2016-09-19 21:48:37 +02:00
Yvonne Lam
df56fced00 Build with master of omnibus to enable package builds on linux and OS X. 2016-09-19 21:39:18 +02:00
Christoph Hartmann
6219598208 Merge pull request #1080 from chef/ssd/resource-namespace
Allow users to reference resources from dependencies
2016-09-19 21:04:33 +02:00
Steven Danna
b2146d8758 Allow users to reference resources from dependencies
All resources from deps are added into the control_eval_context used by
the current profile. However, if there is a name conflict, the last
loaded resource wins. The new `require_resource` dsl method allows the
user to do the following:

    require_resource(profile: 'profile_name',
                     resource: 'other',
                    as: 'renamed')

    describe renamed do
      ...
    end

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-19 19:08:43 +02:00
Christoph Hartmann
31967fa4b2 Merge pull request #1098 from chef/chris-rock/fix-metadata-unit-tests
use Gem::Version instead of a regular expression for a test version bump
2016-09-19 19:07:31 +02:00
Christoph Hartmann
17ce99df7f use Gem::Version instead of a regular expression for a test version bump 2016-09-19 18:58:30 +02:00
Christoph Hartmann
1796b91846 1.0.0-beta1 2016-09-19 17:51:25 +02:00
Christoph Hartmann
8564e2db1f Merge pull request #811 from chef/dr/json-arrays
Static keys in all json
2016-09-19 16:57:51 +02:00