Adam Leff
7a71719f13
Move Habitat sleep time to config file
...
Because the sleep_time is not written to a config file but instead
only rendered into the run hook, hab-sup doesn't restart the running
process upon any config updates. This change moves the sleep_time to
a settings config file which is read in by the run hook. This will
allow Habitat to restart the InSpec process whenever a user changes
the sleep time.
I also cleaned up the non-zero exit error message to give the user
a better indication as to why the run may have "failed."
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-14 12:01:25 -04:00
Adam Leff
f09a100a4a
Merge pull request #1657 from chef/adamleff/1.20.0
...
Release 1.20.0
2017-04-13 11:38:10 -04:00
Adam Leff
17d611c053
Release 1.20.0
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-13 11:37:23 -04:00
Ryan Gerstenkorn
5e0cab08a0
Add OSX support for host resource ( #1608 )
...
* Add OSX support for host resource
Signed-off-by: Ryan Gerstenkorn <ryan_gerstenkorn@fastmail.fm>
2017-04-13 11:32:04 -04:00
Christoph Hartmann
effd0dd9f8
harmonize compliance profiles view with supermarket views ( #1654 )
...
* harmonize profiles view with supermarket plugin
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-04-13 11:24:17 -04:00
Christoph Hartmann
d585bceb14
Merge pull request #1656 from chef/adamleff/habitat-run-user
...
Habitat packages should run as root
2017-04-13 17:06:59 +02:00
Adam Leff
9b472e1b59
Habitat packages should run as root
...
Many InSpec resources require root access to properly scan. Let's
default the run user to root until we need to accommodate different
options.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-13 10:34:47 -04:00
Adam Leff
c70824d0c8
Merge pull request #1647 from jeremymv2/jeremymv2/automate_dependency_profiles
...
allow Automate profile dependencies
2017-04-12 15:42:31 -04:00
Adam Leff
2376cba73f
Merge pull request #1646 from jeremymv2/jeremymv2/fix_validate_backend_error
...
pass options hash sans target key
2017-04-12 15:41:58 -04:00
Christoph Hartmann
29e286fee6
Merge pull request #1639 from chef/dr/rabbitmq_config
...
add `rabbitmq_config` resource
2017-04-12 21:19:15 +02:00
Dominik Richter
02e435b6d0
add rabbitmq config resource
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2017-04-12 20:51:12 +02:00
Christoph Hartmann
03dc97319a
Merge pull request #1651 from chef/adamleff/update-community-page
...
[www] Update community page
2017-04-12 20:36:43 +02:00
Adam Leff
4e466b9b1c
Fix capitalization of InSpec in header
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 14:19:34 -04:00
Adam Leff
87435a04ae
Fix events button
...
The events button URL was pointing to Discourse rather than events.chef.io. Whoops.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 14:17:57 -04:00
Nathen Harvey
13af1b1885
Minor tweaks to the wording on the Community page
...
Signed-off-by: Nathen Harvey <nharvey@chef.io>
2017-04-12 14:02:49 -04:00
Adam Leff
10e26f40ff
[www] WIP: revamping the community page with events, blog, and discourse
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 14:02:49 -04:00
Adam Leff
510bc17bf8
Merge pull request #1650 from chef/adamleff/fix-gem-on-windows
...
Fix gem resource on Windows
2017-04-12 12:23:57 -04:00
Adam Leff
da56a08f74
Fix gem resource on Windows
...
RubyGems on windows comes with a batch file that wraps the `gem` command
so it executes correctly. This change uses that batch file for windows
for our `gem` resource, and also properly handles when we receive no output
from the command.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 17:34:16 +02:00
Christoph Hartmann
ad77b88329
Merge pull request #1634 from chef/adamleff/netlify
...
[www] Adding a website acceptance environment
2017-04-12 17:31:31 +02:00
Adam Leff
8693749eef
Move CI scripts directory
...
Per PR feedback, moving the CI scripts directory from the repo root.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 10:10:36 -04:00
Adam Leff
a1b7e3167e
[www] Adding a website acceptance environment
...
If changes are detected in the docs or www directory, a website
build will be generated that pushes up to Netlify. This will allow
teams to validate web changes without requiring pulling down the
branch and building locally.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 10:10:36 -04:00
Dominik Richter
b527c30a2f
Merge pull request #1648 from chef/chris-rock/hostname-mac
...
add support for hostname detection on macOS
2017-04-12 13:38:28 +02:00
Christoph Hartmann
01eb102079
add support for hostname detection on macOS
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-04-12 12:57:45 +02:00
Christoph Hartmann
4c64bafb51
Merge pull request #1624 from supergicko/sni-power-for-ssl
...
Adding SNI utilization to ssl resource
2017-04-12 11:07:27 +02:00
Jeremy J. Miller
735b67ab8a
allow Automate profile dependencies
...
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2017-04-11 16:45:24 -04:00
Jeremy J. Miller
c73417e0ae
pass options hash minus target key
...
Signed-off-by: Jeremy J. Miller <jm@chef.io>
2017-04-11 14:39:46 -04:00
Dominik Richter
21258f7296
rabbitmq parser: support complex bit-stream handling
2017-04-07 17:01:37 +02:00
Dominik Richter
4197b5a8f6
rabbitmq parser: add simple binary handling
2017-04-07 17:01:37 +02:00
Dominik Richter
860750d967
rabbitmq parser: tree transformation to ruby objects
2017-04-07 17:01:37 +02:00
Dominik Richter
ea1137b0ee
rabbitmq parser: create erlang syntax lexer
2017-04-07 17:01:37 +02:00
Adam Leff
8c2aa716ca
Merge pull request #1638 from chef/adamleff/release-1.19.2
...
Release 1.19.2 patch release
2017-04-07 10:40:06 -04:00
Adam Leff
231698808c
Release 1.19.2 patch release
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-07 10:36:38 -04:00
Adam Leff
b8c397df37
Merge pull request #1635 from chef/chris-rock/fix-regedit-ps
...
Fix and document registry issues
2017-04-07 10:28:41 -04:00
Adam Leff
a8ffe449ff
Add helper methods, tests for registry key path building
...
Broke out some of the conditional logic in the `#initialize`
method into helper methods and added tests.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-07 10:09:51 -04:00
Christoph Hartmann
266241f173
do not install apache and postgres on windows
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-04-07 10:57:03 +02:00
Christoph Hartmann
afc7859fdb
add documentation for registry_key backslashes and #1281
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-04-07 10:57:02 +02:00
Christoph Hartmann
6f6f3985a6
fix #1131 circumvent bug in powershell where string are not properly handled
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-04-07 10:57:02 +02:00
supergicko
b27a065e8c
Pinned version of sslshake to ~> 1.1
...
Signed-off-by: Christoph Kappel <kappel.christoph@gmail.com>
2017-04-07 09:36:42 +02:00
supergicko
e3c695e8e9
Adding SNI utilization to ssl resource
...
SSL resource now adds the servername option in client hello,
utilizing the the great work of @adamcaudill to support
SNI in sslshake [1]
[1] https://github.com/arlimus/sslshake/pull/5
Signed-off-by: Christoph Kappel <kappel.christoph@gmail.com>
2017-04-07 09:34:44 +02:00
Christoph Hartmann
90b985a7c1
fix #1268 and allows registry key resource with leading backslash
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-04-06 23:30:10 +02:00
Dominik Richter
7562138248
Merge pull request #1623 from chef/adamleff/http-resource-warning
...
[www] Add warning to the http resource documentation
2017-04-05 16:41:08 +02:00
Adam Leff
70eaa3fe73
Merge pull request #1628 from chef/adamleff/release-1.19.1
...
Releasing v1.19.1
2017-04-04 15:22:47 -04:00
Adam Leff
24ab12e5b5
Releasing v1.19.1
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-04 15:22:16 -04:00
Adam Leff
79824d897a
Merge pull request #1627 from chef/adamleff/loosen-addressable-pin
...
Loosen addressable version pin
2017-04-04 15:13:39 -04:00
Adam Leff
39c05765ff
Loosen addressable version pin
...
The version of addressable that was pinned in the gemspec was
too new and conflicted with some of chef's dependencies. Loosening
it will allow us to include InSpec in the chef omnibus packages.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-04 14:51:19 -04:00
Adam Leff
c5ad8972ec
Merge pull request #1626 from chef/adamleff/release-1.19.0
...
Releasing v1.19.0
2017-04-04 11:07:03 -04:00
Adam Leff
5a2a20dc3e
Releasing v1.19.0
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-04 11:06:16 -04:00
Doc Walker
692e660140
Fix #1617 Add dh_params resource ( #1618 )
...
* Fix #1617 Add dh_params resource
Signed-off-by: Doc Walker <4-20ma@wvfans.net>
2017-04-04 10:34:09 -04:00
Adam Leff
5e94600eb3
Merge pull request #1621 from chef/adamleff/replace-nokogiri
...
Replace Nokogiri with REXML in the JUnit formatter
2017-04-03 17:24:17 -04:00
Adam Leff
6b49303136
Add warning to the http resource documentation
...
Currently, the `http` resource only operates on the node on which
`inspec exec` is run, even if the user uses the `--target` flag.
This has caused some confusion in the community.
Until this can be fixed, this change adds a warning to the documentation.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-03 17:21:15 -04:00