Jerry Aldrich
d2569e8da9
Make @log
and attr_reader and rename to logger
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-21 13:16:16 -08:00
Jerry Aldrich
27eab8686f
Change log message type to debug
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-21 13:06:08 -08:00
Chef Expeditor
8c37a61494
Bump version to 3.6.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-21 17:24:19 +00:00
Clinton Wolfe
a82a00b2ae
Merge pull request #3824 from inspec/cw/deprecate-aws-resources-in-core
...
Add a deprecation group for core AWS resources
2019-02-21 12:24:02 -05:00
jtimberman
d2d4c9605f
add json example from http request
...
I was looking for an example of how to do this, but I didn't find
anything in the documentation. This is a simple examle in the `json`
resource that returns a JSON blob back from an `http` request to a
"`/health`" endpoint.
Signed-off-by: Joshua Timberman <joshua@chef.io>
2019-02-21 10:23:52 -07:00
Clinton Wolfe
83cdcad135
Fallback to attributes in test code for reporters
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 21:22:51 -05:00
Clinton Wolfe
947cf32307
Fix version test
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:44:25 -05:00
Clinton Wolfe
491ec001a2
Fix bad class name in unit test
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
1dab1c1bd5
Skip a test related to input override and profile inheritance; we know this is in flux
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
c28c244f16
Fix a handful of functional tests
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
08ad60796f
Linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
f7d58ad92c
Replace most mentions of attribute with input in test/
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
e5f764c9fc
Search and replace most attribute references in lib/
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
4f361bfc56
Replace most mentions of Attribute (titlecase) in lib and test
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
ce99624095
Renamed AttributeRegistry->InputRegistry
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:09 -05:00
Clinton Wolfe
a1982a5f8b
First pass on renaming attribute->input, unit test passes
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:09 -05:00
Clinton Wolfe
fc7f3a65b4
Add a deprecation grouup for core AWS resources
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 18:02:02 -05:00
Chef Expeditor
46415dfbff
Bump version to 3.6.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-20 22:46:51 +00:00
Clinton Wolfe
2b60f198fc
Merge pull request #3820 from inspec/sp/fix-aws-init-profile
...
Moved the AWS init profile to the correct location.
2019-02-20 17:46:30 -05:00
Stuart Paterson
7ec1803adb
Moved the AWS init profile to the correct location.
...
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-02-20 15:16:11 +00:00
Jerry Aldrich
bf748d8478
Rewrite inspec-habitat plugin
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-19 00:47:14 -08:00
Clinton Wolfe
3ed43bc652
Adds a v4 release to the expeditor config
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 23:04:23 -05:00
Tim Smith
074288cdf2
Add comment on the ruby version check in the gemfile
...
Nuke it next year.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-14 14:03:05 -08:00
Tim Smith
0fe5880c5d
Add comment regarding the postgresql pin
...
Basically this avoids sous-chefs breaking inspec tests by accident
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-14 14:02:06 -08:00
Chef Expeditor
f3f50c1c66
Bump version to 3.6.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-14 21:11:27 +00:00
Clinton Wolfe
4d9a6060e5
Merge pull request #3805 from inspec/cw/attrs-rename-depgroup
...
Attribute-Input Rename: Add deprecation group
2019-02-14 16:11:13 -05:00
Chef Expeditor
492a9edde8
Bump version to 3.6.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-14 21:04:40 +00:00
Clinton Wolfe
3a96448c89
Merge pull request #3812 from inspec/tas50/platforms
...
Update support platforms in the readme
2019-02-14 16:04:21 -05:00
Clinton Wolfe
2ac9e8c760
Merge pull request #3813 from inspec/tas50/expeditor_comment
...
Note the correct expeditor URL in the config comment
2019-02-14 15:58:51 -05:00
Clinton Wolfe
d52d497aac
Add deprecation group for renaming attributes
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 13:48:47 -05:00
Chef Expeditor
86bb48d10c
Bump version to 3.6.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-14 18:47:55 +00:00
Clinton Wolfe
6f178f1e79
Merge pull request #3803 from inspec/cw/attrs-rename-codefiles
...
Attribute-Input Rename: Rename codefiles
2019-02-14 13:47:41 -05:00
Clinton Wolfe
cbf1b665f8
Fix typo in require
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Clinton Wolfe
fc448ed6f1
Rename attribute_registry to input_registry
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Clinton Wolfe
c538eae2df
Rename objects/attribute to objects/input
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Tim Smith
2fe299c4f8
Work around strange bundler failures on Ruby 2.3
...
We should be excluding the integration group but it's trying to install berkshelf no matter what. 🤷
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:59:18 -08:00
Tim Smith
ce5b7d8942
Switch to the new dokken oracle images
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:51:22 -08:00
Tim Smith
0cbd8ce705
Move the issue template to the .github directory
...
No need for this in the root
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:50:30 -08:00
Tim Smith
d7b6e0a7f3
Name the test/lint tests in Travis
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:44:51 -08:00
Tim Smith
34e105fb59
Shuffle around where we define the bundler args
...
The group exclusions weren't getting applied at the top level like one
might assume.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:19:26 -08:00
Tim Smith
68ff8d8b43
Update what we expect for the x509 request
...
The new built in chef resource creates it a bit differently than the legacy cookbook resource did
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:00:00 -08:00
Tim Smith
4b3095dac2
Further modernize the cookbook and remove legacy setup
...
Remove container setup that comes for free with the dokken containers now
Use the new openssl resource names
Remove all the encoding statements that even rubocop doesn't recommend anymore
Remove some compatibility with centos-5 and ubuntu 15.10
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 21:50:33 -08:00
Tim Smith
8fcef84820
Actually disable 2.6 testing for now
...
It very much does not work atm
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 20:54:00 -08:00
Tim Smith
4628a12401
Switch the travis test to Xenial and add Ruby 2.6.1
...
We'll be shipping on Ruby 2.6.1 soon so we should test it.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 20:47:21 -08:00
Tim Smith
687fb989ca
Pin berkshelf to a sane version
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 19:47:57 -08:00
Tim Smith
79a45d0f3b
Swap Fedora 24 for Fedora 29 in Travis
...
Fedora 24 is way EOL
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:14:02 -08:00
Tim Smith
772244c12a
Use the latest Chef 14 in testing and nuke windows/openssl cookbooks
...
All the windows / openssl resources are built into Chef now.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:04:43 -08:00
Tim Smith
0a1fb48b4e
Switch CentOS / Ubuntu to use the dokken-images containers
...
These are setup to look more like VMs and they are what should be used with dokken.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:03:04 -08:00
Tim Smith
432d473bf9
Don't use hidden kitchen files
...
This just makes finding these harder on *nix systems.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 17:20:42 -08:00
Tim Smith
097e2deedc
Don't include the apt recipe over and over again in the recipes
...
We run apt_update once with chef and we already update the cache directly on the container at start. We don't need to try to do the same thing 3 other times.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 17:19:55 -08:00