Commit graph

6844 commits

Author SHA1 Message Date
Ryan Davis
9f91b53193 Refactored and cleaned a minor bit in runner.rb
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
Ryan Davis
7de549577c Return keys are really nice.
They make code more readable by visually separating different sections
of text.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
Ryan Davis
d3df69213b Fix handling using resources with incompatible resources (eg file + aws).
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
Ryan Davis
14c245eccb Refactoring inspec_exec_test.rb
+ Moved exit checks to be last.
+ Refactored the IO parts. WHY do the same thing over and over?!?

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
John Snow
7fb4b8b14b Remove scaffolding section in doc
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-22 17:10:40 -04:00
John Snow
bdf1b01af7 Make changes to doc after review
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-22 17:09:09 -04:00
John Snow
ea8c76dcd2
Update docs/habitat.md
Co-Authored-By: Jerry Aldrich <aldrich003@gmail.com>
2019-07-22 16:58:44 -04:00
John Snow
d223f63be5
Update docs/habitat.md
Co-Authored-By: Jerry Aldrich <aldrich003@gmail.com>
2019-07-22 16:57:55 -04:00
John Snow
a81dfc39fa
Update docs/habitat.md
Co-Authored-By: Jerry Aldrich <aldrich003@gmail.com>
2019-07-22 16:57:09 -04:00
Chef Expeditor
f90255ab09
Bump version to 4.7.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-22 20:44:43 +00:00
Clinton Wolfe
7c251b6fd6
Suppress gem docs when installing plugins (#4286)
Suppress gem docs when installing plugins
2019-07-22 16:44:28 -04:00
Chef Expeditor
8247bf694f
Bump version to 4.7.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-22 19:29:50 +00:00
Clinton Wolfe
66c8232b36
Un-deprecate the be_running matcher on service resource (#4295)
Un-deprecate the be_running matcher on service resource
2019-07-22 15:29:27 -04:00
Clinton Wolfe
12b577fccd linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 15:17:30 -04:00
Clinton Wolfe
1c7c2a1e32 Pass option to skip installing documentation when installing plugins
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 15:17:30 -04:00
Clinton Wolfe
b37d165878 Unit test for suppressing doc install
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 15:17:30 -04:00
Clinton Wolfe
a31e0bcf5e Un-deprecate the be_running matcher on service resource
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 14:52:45 -04:00
John Snow
ea7956177a Fix tests to use only plan file
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-22 07:35:33 -04:00
John Snow
bbb809f703 Transition the Habitat plugin to use scaffolding
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-19 15:25:06 -04:00
Chef Expeditor
f25d4b1941
Update CHANGELOG.md to reflect the promotion of 4.7.18
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-18 22:01:43 +00:00
Jerry Aldrich
74f0e7cf0e Correct example to use message in both places
Thanks @kclinden

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-18 10:06:59 -07:00
Jerry Aldrich
4a5103802a Change comment to be correct and fit on one line
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-17 22:38:43 -07:00
Jerry Aldrich
a9879544a9 Add SHA512 password example to shadow resource
Many thanks to @kclinden and @zenspider for helping make this possible

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-17 20:03:41 -07:00
Chef Expeditor
a804fd477d
Bump version to 4.7.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-18 01:46:12 +00:00
Miah Johnson
4d06c530f4
Merge pull request #4313 from inspec/mj/bk-web
Create private pipelines for website management.
2019-07-17 18:45:57 -07:00
Miah Johnson
957fa0d944 Create private pipelines for website management.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-17 17:23:25 -07:00
Chef Expeditor
2d4798b948
Bump version to 4.7.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-17 22:15:45 +00:00
Ryan Davis
7bb9ed1676
Merge pull request #4312 from inspec/schisamo/release-notes
Automatically publish release notes and announce releases
2019-07-17 16:15:27 -06:00
Seth Chisamore
7be16359f2
Automatically publish release notes and announce releases
This change updates InSpec begin using the streamlined release notes
process we are already using on Automate and Chef Workstation. More
details on this new process can be found on the following epic:
https://github.com/chef/release-engineering/issues/692

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-07-17 17:57:59 -04:00
Chef Expeditor
c37e69e0fc
Bump version to 4.7.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-17 21:25:52 +00:00
Miah Johnson
bc293e47a5
Merge pull request #4311 from inspec/jsinha/add_win2019
Enable Windows 2019 packages
2019-07-17 14:25:38 -07:00
Jaymala Sinha
a853d46abd Enable Windows 2019 packages
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
2019-07-17 13:26:01 -04:00
Eike Waldt
da4168f83d
add darwin/OSX tests
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:53:19 +02:00
Eike Waldt
73f729e4b1
changed from system_profiler to sysctl on OSX
(kudos to Petrik)

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:53:15 +02:00
Eike Waldt
b47cf6e80e
change from dmidecode to /sys/class/dmi/id/*
(kudos to Seife)

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:53:03 +02:00
Eike Waldt
9fa97e8baa
use double quotes
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:53 +02:00
Eike Waldt
cf4c0f1ed3
fix copypasta
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:52 +02:00
Eike Waldt
2700018c58
hardcode "Apple Inc." vendor if on OSX
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:52 +02:00
Eike Waldt
64777457c9
use "system_profiler" instead of "dmidecode" on OSX
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:52 +02:00
Eike Waldt
68dd042bd0
use semi-realistic examples
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:52 +02:00
Eike Waldt
2a775ca6b7
indent all code samples in docs/resources/sys_info.md.erb
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:52 +02:00
Eike Waldt
9c06a0c8e2
refactor tests for resource sys_info.manufacturer and sys_info.model
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:52 +02:00
Eike Waldt
9278d8109d
add tests for resource sys_info.manufacturer and sys_info.model
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:45 +02:00
Eike Waldt
2a072ad852
add docs for resource sys_info.manufacturer and sys_info.model
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 20:39:38 +02:00
Eike Waldt
c5fb5c0f9f
add resource sys_info.manufacturer and sys_info.model
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 20:39:38 +02:00
Eike Waldt
474d70b78d
fix description on sys_info.hostname tests
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 20:39:38 +02:00
Chef Expeditor
354cf97e54
Bump version to 4.7.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-16 18:14:57 +00:00
Ryan Davis
4862327ccf
Merge pull request #4308 from inspec/zenspider/buildkite/green
LANG should have gone into coverage as wel
2019-07-16 12:14:40 -06:00
Chef Expeditor
1cac2b3383
Bump version to 4.7.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-16 18:14:09 +00:00
Ryan Davis
4cce1e078c
Merge pull request #4307 from inspec/zenspider/travis/green
Removed integration tests
2019-07-16 12:13:54 -06:00