Closed teknomar7 closed 5 years ago
1 Warning | |
---|---|
:warning: | This Pull Request is probably missing tests. |
Generated by :no_entry_sign: Danger
Lint test fails due to "accept license" prompt for chef exec that times out.
@teknomar7 I've opened PRs to resolve this https://github.com/sous-chefs/java/pull/555 & https://github.com/sous-chefs/terraform-github-org/pull/180
@JohnRoesler Will I need to do anything else to retrigger the lint test (or anything further in general)? I'm a little new to this whole process.
Thanks!
Once those PRs get merged - this PR will ask us to merge those change in and that should do it 👍
Is there any target date for when this might be included in a release to the master branch? Just want to keep my org apprised since I wrote a temporary work around in lieu of using this cookbook.
@majormoses fancy doing a release for 4.2 once this gets updated and merged?
Description
This change creates a node attribute default['java']['download_path'] which defaults to Chef::Config[:file_cache_path]. All references to Chef::Config[:file_cache_path] have been replaced by node['java']['download_path'] which allows wrappers to set the value of the download and extract path of the tarball to a location other than Chef::Config[:file_cache_path]. These references were not replaced in spec files.
Issues Resolved
This is a resolution to issue 538. The path to download and extract the tarball was hardcoded to Chef::Config[:file_cache_path] which caused failures at my organization due to a 500 mb partition sizing for /var/chef across the organization.
Check List
Note: All tests did not pass on the master branch prior to modifying the code, so similar tests failed when running the same tests after code modifications.