Commit graph

6018 commits

Author SHA1 Message Date
Aaron Lippold
e312b44563 Addressing review items.
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-03-27 09:55:48 -04:00
Aaron Lippold
179c48fd21 Addressing review items.
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-03-26 16:18:22 -04:00
Clinton Wolfe
4b96929bf5 Modernize automate output test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-26 10:44:01 -04:00
Chef Expeditor
18928db7be
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-22 06:07:18 +00:00
Chef Expeditor
70ffa66a8e
Bump version to 3.7.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-22 05:20:54 +00:00
Clinton Wolfe
8c74763655
Merge pull request #3902 from inspec/cw/pull-in-uft-ext-in-omnibus
Re-add a bespoke unf_ext to our omnibus build
2019-03-22 01:20:39 -04:00
Clinton Wolfe
b40a0a1d35 Linting, a great use of time
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-22 01:00:47 -04:00
Clinton Wolfe
08aea07c71 Re-add a bespoke unf_ext to our omnibus build
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-22 00:22:06 -04:00
Chef Expeditor
51e8ac2f4f
Bump version to 3.7.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-21 17:37:27 +00:00
Miah Johnson
6ce349dcde
Merge pull request #3873 from inspec/cw/config-add-caching
Add caching to Inspec::Config
2019-03-21 10:37:06 -07:00
Stuart Paterson
97f6f232c8
Replace single-quoted static string.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-21 16:24:10 +00:00
Stuart Paterson
0c0e0aa016
Remove debugging lines.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-21 16:20:06 +00:00
Stuart Paterson
5accfa5391
Add protection for crontab resource path and document it.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-21 15:49:00 +00:00
Chef Expeditor
69a3f7130c
Bump version to 3.7.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-20 15:10:50 +00:00
Clinton Wolfe
19b9671b8d
Merge pull request #3898 from burtlo/fixes/resource_examples
Fixes resource example indentation
2019-03-20 11:10:24 -04:00
Chef Expeditor
6683fecfa9
Update CHANGELOG.md with details from pull request #3889
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-20 15:07:44 +00:00
Clinton Wolfe
789fca2520
Merge pull request #3889 from devoptimist/decouple_tests
Decoupling test profiles from example profiles
2019-03-20 11:07:30 -04:00
Chef Expeditor
6374d9e3a4
Update CHANGELOG.md with details from pull request #3890
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-20 15:07:08 +00:00
Clinton Wolfe
2d40181f35
Merge pull request #3890 from inspec/cw/fix-glossary-links
Repair anchor links to use dashes instead of underscores
2019-03-20 11:06:51 -04:00
Lynn Frank
6018a6959d Fixes indentation of kernal_module example
Signed-off-by: Franklin Webber <franklin.webber@gmail.com>
2019-03-19 12:05:15 -05:00
Lynn Frank
23eff3df24 Fixes rubocop violation on indention
Signed-off-by: Franklin Webber <franklin.webber@gmail.com>
2019-03-19 11:32:07 -05:00
Lynn Frank
2857d07151 Fixes resource examples
The opening and closing mechanic varied between all the various
resources. This changes them all to use a HEREDOC with a tilde
to remove leading whitespace. This removes the need for the
special method to trim the `#print_example` method from shell.

Signed-off-by: Franklin Webber <franklin.webber@gmail.com>
2019-03-19 11:25:41 -05:00
Aaron Lippold
9a8ed4d3e5 move the advanced use-case to the tips and tricks
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-03-18 21:56:00 -04:00
Aaron Lippold
a2a86860d6 This adds the more_permissive_than?(mode) matcher to the file resource.
Fixes #3893

Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-03-18 18:10:13 -04:00
devoptimist
2d49f39adc moved example tests into their own sub dir, and reused examples_path variable
Signed-off-by: devoptimist <sbrown@chef.io>
2019-03-18 15:15:32 +00:00
Chef Expeditor
7887d25251
Bump version to 3.7.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-18 14:43:45 +00:00
Clinton Wolfe
67d9d62ccf
Merge pull request #3509 from cattywampus/max_redirects
Allow http resource to follow redirects
2019-03-18 10:43:26 -04:00
Keith Walters
c2bd0616fe Allow http resource to follow redirects
By specifying a `max_redirects` attribute, the `http` resource worker
will follow any HTTP Redirect response (301, 302, etc...) up to the
limit defined by this attribute. For a local worker, exceeding that
limit will raise a `FaradayMiddleware::RedirectLimitReached` exception.
For a remote worker, the curl command will exit without populating the
`status` and `body` properties.

Signed-off-by: Keith Walters <keith.walters@cattywamp.us>
2019-03-16 20:54:52 -04:00
Clinton Wolfe
0d299e9b1d Repair anchor links to use dashes instead of underscores
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-14 10:57:48 -04:00
devoptimist
94d80f6c8f Decoupling test profiles from example profiles
Signed-off-by: devoptimist <sbrown@chef.io>
2019-03-14 00:32:13 +00:00
Chef Expeditor
9c67fe89a5
Bump version to 3.7.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-13 23:14:38 +00:00
Clinton Wolfe
b3ab615465
Merge pull request #3860 from inspec/lcg/remove-omnibus-software-gems
Move all gem installation to Gemfile/bundle install
2019-03-13 19:14:20 -04:00
Chef Expeditor
8e3aabc2e4
Bump version to 3.7.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-11 17:56:40 +00:00
Clinton Wolfe
c580b695c7
Merge pull request #3842 from inspec/ja/fix-iis-app-pool-resource
iis_app_pool: Fix PowerShell JSON parsing error
2019-03-11 13:52:07 -04:00
Chef Expeditor
488a1ebe52
Bump version to 3.7.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-11 17:51:51 +00:00
Clinton Wolfe
e7ee82a12a
Merge pull request #3843 from inspec/ja/http-to-s
http resource: Add fallback to `#to_s`
2019-03-11 13:51:34 -04:00
Clinton Wolfe
3cce8ba705 Replace attrs with input-files in remaining tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-08 12:40:33 -05:00
Clinton Wolfe
709a5dbdd9 Implement renaming --attrs -> --input-file
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-08 11:38:03 -05:00
Clinton Wolfe
04b26dd417 Add failing functional tests for --attrs -> --input-file
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-08 11:37:38 -05:00
Chef Expeditor
95196838ef
Bump version to 3.7.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-08 15:12:54 +00:00
Clinton Wolfe
c0e462ca5f
Merge pull request #3816 from inspec/cw/add-expeditor-v4-to-v3
Adds a v4 release to the expeditor config
2019-03-08 10:12:35 -05:00
Chef Expeditor
fd59635cc3
Bump version to 3.7.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-08 14:52:03 +00:00
Clinton Wolfe
74e2f72ed5
Merge pull request #3818 from inspec/ja/rewrite-habitat-plugin
Rewrite inspec-habitat plugin
2019-03-08 09:51:46 -05:00
Chef Expeditor
929b46b554
Bump version to 3.7.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-07 19:14:17 +00:00
Clinton Wolfe
2a8e89511a
Merge pull request #3861 from inspec/sp/inspec-init-profile-azure
Add InSpec init profile for Azure.
2019-03-07 14:14:01 -05:00
Clinton Wolfe
f7202c229b Add caching to Inspec::Config
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-06 14:59:06 -05:00
Stuart Paterson
54e7428e75
Set minimal inspec version in line with inspec-zure resource pack guidelines.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-04 15:47:39 +00:00
Stuart Paterson
a337ca1d23
Add InSpec init profile folder for Azure.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-04 15:33:37 +00:00
Stuart Paterson
dcb141da79
Add InSpec init profile for Azure.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-04 15:32:31 +00:00
Lamont Granquist
e16206f1d0 Move all gem installation to Gemfile/bundle install
Do not use omnibus-software gem definitions for installing gems,
and use the Gemfile in the inspec project as the source of truth.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
2019-03-01 17:45:37 -08:00