Commit graph

5002 commits

Author SHA1 Message Date
Adam Leff
8d21366e41 Merge pull request #1536 from tescalada/patch-1
Fixing a typo
2017-03-08 15:02:28 -07:00
Christoph Hartmann
8b1619b60e try to use sysv fallback if is not producing proper output
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-03-08 21:52:52 +01:00
Adam Leff
71ee19ad3b Merge pull request #1548 from chef/chris-rock/installation
update readme for install scripts
2017-03-07 11:32:41 -07:00
Christoph Hartmann
7437a2b00f update readme for install scripts
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-03-07 19:25:25 +01:00
Christoph Hartmann
ce8b82e3d4 Merge pull request #33 from chef/russellseymour/vm-networking
Added new resources for testing network configurations of machines
2017-03-07 10:15:34 +01:00
Christoph Hartmann
6f2ec9b821 Merge pull request #1547 from chef/adamleff/fix-ipv4-address-as-tcp6-entries
Fixing port check with v4 IPs in a v6 netstat line
2017-03-07 10:08:43 +01:00
Russell Seymour
44f9238953 Fixed linting issue
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-07 08:18:30 +00:00
Russell Seymour
ff4a1ba200 Renamed public ip address test
Removed debugging flag

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-07 08:15:50 +00:00
Adam Leff
037f08beb2 Fixing port check with v4 IPs in a v6 netstat line
On Linux, netstat may show a tcp6/udp6 protocol line but include a
v4 address. This happens with AF_INET6 sockets that can accept
both v4 and v6 traffic. The port check was not properly handling
this situation and trying to pass a v4 address to URI bracketed as
if it was a v6 address.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-06 22:03:41 -07:00
Christoph Hartmann
ff91244186 Merge pull request #1540 from chef/1.16.1
releasing 1.16.1 with a bug fix and omnibus fix
2017-03-06 19:58:12 +01:00
Adam Leff
45f242e122 releasing 1.16.1 with a bug fix and omnibus fix
Signed-off-by: Adam Leff <adam@leff.co>
2017-03-06 11:58:00 -07:00
Christoph Hartmann
ef775e61c4 Merge pull request #1539 from chef/adamleff/omnibus-build-fix
Fix omnibus build after new JUnit formatter
2017-03-06 19:32:43 +01:00
Adam Leff
9581fda2d8 Fix omnibus build after new JUnit formatter
The new JUnit formatter requires nokogiri, so we need
to build nokogiri via omnibus to ensure liblzma, etc.
is built as part of the omnibus package instead of
`gem` picking up a system liblzma, such as on Mac OS X.

Also bumping ruby to 2.3.1 to match ChefDK.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-06 11:25:20 -07:00
Makoto Nozaki
f913b56ffc Avoid connection timeout of "inspec version" (#1538)
* Add open_timeout to NET::HTTP.start call
Signed-off-by: Makoto Nozaki <makoto.nozaki@twosigma.com>

* Code cleanup based on the discussion at #1538
Signed-off-by: Makoto Nozaki <makoto.nozaki@twosigma.com>
2017-03-06 09:23:42 -07:00
Adam Leff
66dce387ee Merge pull request #1512 from chef/HM-BugFixesWeb-022317
Ready for review - inspec.io bug fixes, #1440, #1420, #1465, #1421, #1437,#1226, #1494, #1495
2017-03-05 18:27:02 -05:00
hannah-radish
74a2a37a5a Updated Tutorial URL in Docs
Signed-off-by: Hannah Maddy <hmaddy@chef.io>
2017-03-03 17:51:20 -08:00
hannah-radish
23434f3606 Bug fixes for Inspec.io
- Added banner for webinars (present and future)
- CSS support for IE10, IE11, Edge
- Fixed URL bug for demo
- Fixed Edge browser resize bug
- Changes to relative path, update event info

Signed-off-by: Hannah Maddy <hmaddy@chef.io>
2017-03-03 12:25:33 -08:00
Tristan Escalada
27d94c5037 Fixing a typo
changing paht to be path.
2017-03-03 14:03:54 -05:00
Adam Leff
408a5c956a Merge pull request #1531 from chef/adamleff/gitignore
Updating .gitignore for Habitat and direnv
2017-03-03 11:09:11 -05:00
Adam Leff
bf2998faf6 Merge pull request #1533 from chef/adamleff/write-output-to-habitat-var
Write Habitat-driven InSpec output to svc_var directory
2017-03-03 11:08:50 -05:00
Adam Leff
9550137605 Write Habitat-driven InSpec output to svc_var directory
When running a InSpec profile built with Habitat, we now
write the formatter/reporter data to a JSON file in the
pkg.svc_var_path rather than STDOUT. This will allow for
programmatic collection of this data and future enhancements
to allow this data to be passed around a Habitat ring.

This also corrects an issue creating a Habitat profile if the
profile had never been in the local InSpec cache. By setting a
mock Backend when creating the profile object, similarly to what
the archivers do, this issue is avoided.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-02 17:45:16 -05:00
Adam Leff
a98af30b45 Updating .gitignore for Habitat and direnv
For direnv users, excluding the .direnv and .envrc entries will
help avoid any unnecessary local environment settings from getting
committed.

Excluding the results directory will avoid any Habitat artifacts
from getting unnecessarily committed.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-02 16:45:37 -05:00
Adam Leff
7154b6b95f Merge pull request #1530 from chef/1.16.0
1.16.0
2017-03-02 15:39:34 -05:00
Adam Leff
14d6678c82 1.16.0
Signed-off-by: Adam Leff <adam@leff.co>
2017-03-02 15:17:55 -05:00
Russell Seymour
ef323e3b31 Updated resource to follow RSpec convention
Closes #31

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 14:08:33 +00:00
Russell Seymour
de1b7134ef Added new resources
Allows testing of network configurations
Closes #2

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 14:01:54 +00:00
Adam Leff
6bd66df014 Merge pull request #1511 from carldjohnston/oracle-linux-service-resource
Added oracle linux to rhel platform section of 'service' resource.
2017-03-02 07:00:56 -05:00
Alex Pop
8dd5043efb Merge pull request #1527 from chef/chris-rock/compliance-plugin-typo
use -- for description of inspec login_automate
2017-03-02 11:42:24 +00:00
Alex Pop
9c5744338c Merge pull request #1524 from chef/chris-rock/cmp-matcher-docs
fix ident in cmp matcher docs
2017-03-02 11:40:30 +00:00
Christoph Hartmann
71cc62c757 use -- for description of inspec login_automate
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-03-02 12:30:33 +01:00
Christoph Hartmann
e8e34c2ffe fix ident in cmp matcher docs
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-03-02 12:28:50 +01:00
Christoph Hartmann
1f53a1649e Merge pull request #32 from chef/russellseymour/add-matchers
Added support for Managed Disk and renamed matcher
2017-03-02 12:26:58 +01:00
Russell Seymour
47cda053fb Renamed matcher to admin_username
Closes #30

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 11:17:00 +00:00
Russell Seymour
40888db8c5 Added support for Managed Disks
Updated README and documentation
Closes #25

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 11:10:41 +00:00
Carl Johnston
316c994cc5 Added oracle linux to rhel platform section.
Broken when chef/train was fixed to detect oracle linux correctly.

Signed-off-by: Carl Johnston <carldjohnston@gmail.com>
2017-03-02 22:07:16 +11:00
Christoph Hartmann
3732b314ca Merge pull request #29 from chef/russellseymour/docs
Added resource documentation
2017-03-02 11:45:37 +01:00
Russell Seymour
cdc643974d Removed double space after . in text
Copied `eq` matcher text instead of linking
Renamed template files

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 10:41:05 +00:00
Russell Seymour
3e7880627f Added resource documentation
Closes #23

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 10:11:18 +00:00
Christoph Hartmann
146da84937 Merge pull request #28 from chef/russellseymour/housekeeping
Housekeeping tasks
2017-03-02 09:46:28 +01:00
Christoph Hartmann
be529dcea6 Merge pull request #1513 from postgred/kernel_module_centos
Fix kernel_module for centos/redhat
2017-03-02 09:27:10 +01:00
spiffytech
152f056335 windows_task docs: Correct syntax error and misspelled word 2017-03-01 13:43:26 -05:00
Adam Leff
f4b1a350ce Merge pull request #1501 from jbenden/jbenden/freebsd-zfs
Add FreeBSD support for ZFS datasets and pools
2017-03-01 13:06:44 -05:00
Christoph Hartmann
81c9368941 Merge pull request #1520 from chef/adamleff/fix-habitat-build
Add Rake to Habitat build Gemfile
2017-03-01 19:03:16 +01:00
Russell Seymour
7842d37fb3 Renamed azure_rg resource
Closes #25

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 17:32:17 +00:00
Russell Seymour
6f57529a44 Renamed the host attribute on azure_virtual_machine_resource
Updated README file
Closes #26

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 17:20:59 +00:00
Russell Seymour
a4e0df698a Renamed resources for readability
Closes #27

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 17:14:09 +00:00
Adam Leff
3e0369046e Add Rake to Habitat build Gemfile
The `rainbow` gem requires `rake` to build native extensions, and rake
is a development dependency for InSpec, not a runtime dependency.

This change adds the `rake` gem to the Habitat build Gemfile so we
can successfully build a Habitat artifact.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-01 18:10:53 +01:00
Russell Seymour
79c51a3b94 Updated CHANGELOG
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 16:46:56 +00:00
Christoph Hartmann
c025ddab37 Merge pull request #20 from chef/russellseymour/integration-tests
Added integration tests for current resources
2017-03-01 17:29:36 +01:00
Russell Seymour
ec072cadd3 Added integration tests for current resources
Closes #19

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 16:00:19 +01:00