Commit graph

4671 commits

Author SHA1 Message Date
Kimberly Garmoe
07e3e9fbdc Refactors grub_conf doc sligtly; adds os metadata (#2537)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 22:45:42 +01:00
Chef Expeditor
06ff68d097 Bump version to 1.51.9 by Expeditor 2018-02-08 21:45:11 +00:00
Kimberly Garmoe
44abd94991 Kg/interface (#2550)
* Refactors interface docs

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes formatting

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 22:43:50 +01:00
Chef Expeditor
1a5bc25eb6 Bump version to 1.51.8 by Expeditor 2018-02-08 21:43:38 +00:00
Kimberly Garmoe
bd73b69c9e Refactors ini docs (#2544)
* Refactors ini docs

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes formatting

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes formatting

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 22:43:21 +01:00
Kimberly Garmoe
3f0642eef1 Refactors inetd_conf doc (#2543)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 22:42:51 +01:00
Kimberly Garmoe
f1b78c65d5 Refactors iis_site doc (#2542)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 22:42:12 +01:00
Kimberly Garmoe
a114a3015e Refactors iis_app docs (#2541)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 22:41:41 +01:00
Chef Expeditor
6b5ad4ab92 Bump version to 1.51.7 by Expeditor 2018-02-08 21:41:24 +00:00
Kimberly Garmoe
c7b9c56a34 Refactors http doc (#2540)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 22:41:14 +01:00
Chef Expeditor
ba51e17670 Update CHANGELOG.md to reflect the promotion of 1.51.6 to stable 2018-02-08 20:08:14 +00:00
Clinton Wolfe
dfc73a52f0 Merge branch 'release-2.0' into aws-merge-release-merge-try
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-08 10:44:11 -05:00
Clinton Wolfe
6aaab8691c Merge branch 'aws-merge-prep' into aws-merge
Includes train aws:// targeting and some new resources

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-08 10:09:57 -05:00
Jared Quick
9bc0a5a32f Merge branch 'master' into release-2.0 2018-02-08 09:48:23 -05:00
Clinton Wolfe
532f42df89 Move files to locations for core - inspec AWS PR 219 and other new resources
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-08 09:36:20 -05:00
Clinton Wolfe
16fe52b084 Rearrange AWS files for merge into core
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-08 09:24:15 -05:00
Jerry Aldrich
84817366a1 Remove deprecations for InSpec 2.0 (#2506)
* Add `release-2.0` target branch to AppVeyor/Travis (#2510)

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* simpleconfig: Remove deprecated config keys

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* cli (exec): Remove `--cache` command line argument

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* platform: Remove lowercase os name protection

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* matcher: Remove `contain_legacy_plus` matcher

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* matcher: Remove `contain_match` matcher

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* matcher: Remove `with_version` matcher

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* matcher: Remove `belong_to_group` matcher

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* matcher: Remove `belong_to_primary_group` matcher

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* matcher: Remove `contain` matcher

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* passwd: Remove deprecated properties

This removes:
  - `passwd.count`
  - `passwd.username`
  - `passwd.usernames`
  - `passwd.uid`

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* auditd_rules: Remove in favor of `auditd` resource

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* cli: Remove `login_automate` command

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Remove `resource_skipped` message method

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-08 11:05:21 +01:00
Christoph Hartmann
b40876715f
Merge pull request #2536 from chef/jq/merge_inspec_azure
Merge inspec-azure into inspec core
2018-02-08 10:57:05 +01:00
Chef Expeditor
b1801a2219 Bump version to 1.51.6 by Expeditor 2018-02-08 09:07:11 +00:00
Jared Quick
9930e40a76 Add new "reporter" system (replacement for "formatters"), support multiple reporters per run (#2464)
* Formatter and reporter refactor.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add exception and backtrace to json-min report.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add sha to json-min and include generator version for json profile.

Signed-off-by: Jared Quick <jquick@chef.io>

* Fix deprecated typo and add fallback for cli resource title.

Signed-off-by: Jared Quick <jquick@chef.io>

* Update to build json report and clean up cli logic.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add tests for json reporter.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add cli suppress_log_output? and a fallback for invalid reporter type.

Signed-off-by: Jared Quick <jquick@chef.io>

* Update suppress_log_output? to check if we are outputting to stdout.

Signed-off-by: Jared Quick <jquick@chef.io>

* Update reporter cli optoins to work with json_config.

Signed-off-by: Jared Quick <jquick@chef.io>

* Refactor some safe-navigation and variable names.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add thor banner to show reporter file output syntax.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-08 10:06:58 +01:00
Kimberly Garmoe
f32bcdb74d Adds glossary.md file (#2450)
* Adds glossary.md file

Signed-off-by: kgarmoe <kgarmoe@chef.io>

* Adds glossary to sidebar and updates page formatting

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Changes glossary layout

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Replaces errant tic

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Requested changes

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Clarifies filter clause

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-08 10:00:51 +01:00
Clinton Wolfe
a0b6bac87b
Use train for AWS connection (#219)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 23:26:37 -05:00
Clinton Wolfe
4e07508317 Rename classes and resource names in files
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 23:23:05 -05:00
Clinton Wolfe
b46bd350ed Modify train integration to support aws:// targeting in core
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 23:21:28 -05:00
Clinton Wolfe
162335aa60 Move files for rename
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 22:56:45 -05:00
Clinton Wolfe
4d8eb48855
Skeletal aws_vpc_subnets resource (#228)
Signed-off-by: Matthew Dromazos <dromazmj@dukes.jmu.edu>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 20:12:02 -05:00
Jared Quick
42779e91a7 Setup azure resources into inspec.
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-07 16:05:58 -05:00
Jerry Aldrich
3fd25e2ac3 Add release-2.0 target branch to AppVeyor/Travis (#2510)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-07 16:00:17 -05:00
Clinton Wolfe
7bea049f05 Treat integration tests as core, not relying on a resource pack
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 12:29:27 -05:00
Clinton Wolfe
aec79551ff Rubocop
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 12:29:01 -05:00
Clinton Wolfe
d15a21b85f Use dedicated AWS resource loading file. Always load FilterTable.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 12:11:10 -05:00
Clinton Wolfe
67713f99e4 Rely on core resource loader to load AWS support facilities
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 12:10:07 -05:00
Clinton Wolfe
0ca012891b Rely on unit test helper to load resources, not individual AWS tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 12:09:08 -05:00
Miah Johnson
046b2ef419 Skeletal Resource: aws_route_table (#217)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-02-07 10:48:55 -05:00
Kimberly Garmoe
f4d08fbb40 Refactors crontab docs & adds 'property examples' (#2513)
* Refactors crontab docs & adds 'property examples'

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* adds note about crontab-supported time strings

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 16:11:28 +01:00
Matthew Dromazos
16fee68c88 Skeletal Resource: aws_vpc_subnet (#209)
Signed-off-by: Matthew Dromazos <dromazmj@dukes.jmu.edu>
2018-02-07 10:03:11 -05:00
Clinton Wolfe
f7a11ee2df Merge branch 'aws-merge-prep' into aws-merge
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 09:53:21 -05:00
Kimberly Garmoe
24120b9b26 Refactors dh_params resource and publishes (#2515)
* Refactors dh_params resource and publishes

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Adds dh_params resource

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes esc chars

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 15:35:04 +01:00
Kimberly Garmoe
4a203e647b Kg/csv (#2514)
* Refactors csv resource

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Copy edits

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Copy edit

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Clarifies property example

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 15:25:42 +01:00
Kimberly Garmoe
36dd93701f Kg/etc fstab (#2523)
* Refactors etc_fstab resource

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Edits to fstab

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Removes duplicate line

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes terminal punctuation

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes typo

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 15:24:49 +01:00
Kimberly Garmoe
7a47273f5f Refactors elasticsearch resource (#2522)
* Refactors elasticsearch resource

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes typo

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 15:23:53 +01:00
Kimberly Garmoe
16d4f71d2e Refactors the bond docs (#2504)
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 15:17:59 +01:00
Kimberly Garmoe
ecf6900e9f Kg/file (#2529)
* Refactors file docs

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes terminal punctuation

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Adds deprecations and differentiates OS

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 14:29:30 +01:00
Kimberly Garmoe
f5acd5d34e Kg/filesystem (#2530)
* Refactores filesystem doc.

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Removes file

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-07 14:27:48 +01:00
Jared Quick
e0ab84b11a Merge branch 'jq/azure_merge' of /Users/jquick/Chef/inspec-azure into jq/merge_inspec_azure 2018-02-06 13:23:54 -05:00
Jared Quick
8f20ba38f5 clanup for merge 2018-02-06 13:14:39 -05:00
Aaron Lippold
b245b72a7c Add 'require _aws' to newly added resources (#224)
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2018-02-06 13:14:17 -05:00
Chef Expeditor
5a5afb11e2 Bump version to 1.51.5 by Expeditor 2018-02-06 14:10:02 +00:00
Jared Quick
7d26674754 Remove the force uninstall bundler from travis. (#2533)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-06 15:09:52 +01:00
Kimberly Garmoe
be2216a1b8 Kg/etc hosts (#2528)
* Refactors etc_hosts docs

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Copy edits

Signed-off-by: kagarmoe <kgarmoe@chef.io>

* Fixes terminal punctuation

Signed-off-by: kagarmoe <kgarmoe@chef.io>
2018-02-06 12:31:46 +01:00