Comments (3)
Hi @ndunn990!
thanks for taking the time to open an issue. The default recipe is definitely supposed to raise the following error.
Default install recipe is now deprecated
Use one of the documented install resources
See the documentation folder for a list of resources
In broader terms, you should either be looking in the resources documentation folder, or the test cookbook.
The documentation will help with deciding how to use most if not all of the resources.
The test cookbook has a number of commonly used examples which we use to test against.
Hope that helps!
from java.
Thank you for getting back to me.
I guess my issue boils down to a question regarding best practice. When I create custom resources for myself that need to be utilized in other cookbooks, I typically have the custom resources tucked away in a cookbook whose default recipe does nothing. So, in other cookbooks, I can just 'include' the cookbook that includes the custom resources and utilize them as necessary.
I can just clone this repository and move the custom resources I need into my cookbook, but I just wasn't sure if that was the best practice or if there was a more elegant way.
Or maybe I'm not making a great deal of sense. Unless there's a 'best practice' other than simply cloning the repository and copying the custom resources into my cookbook, you can close this.
from java.
Hi @ndunn990,
you might want to reach out to Chef Support or https://learn.chef.io/ for these questions. As they'll be better posed to answer these questions.
You can always drop by the Chef Community Slack where the #general channel is usually super helpful!
Closing down as this is slightly off topic of this cookbook. As the question is really "how do I use custom resources correctly?"
from java.
Related Issues (20)
- java_certificate resource :remove fails
- Please remove references to supporting Oracle/IBM HOT 3
- Corretto `version` property should accept specific versions, not just latest major versions HOT 7
- `archive_file` within `corretto_install` will not extract if directory already exists HOT 4
- AdoptOpenJDK install doesn't handle JAVA_HOME correctly HOT 10
- Feature: STARTTLS parameter for the java_certificate resource HOT 1
- Bad resource naming for openjdk_source_install HOT 1
- Chef Exceptions CookbookChefVersionMismatch: Cookbook 'java' version '8.5.0' depends on chef version [">= 15.0"], but the running chef version is 14.15.6 HOT 2
- Cannot upgrade java version HOT 12
- Multiple errors when upgrading from v4.0.0 to v8.4.0 HOT 7
- OpenJDK Alternatives don't set correctly on OpenSUSE HOT 2
- AdoptOpenJDK is now Adoptium Temurin and IBM Semeru HOT 2
- openjdk_pkg_install reset_alternatives all the times HOT 2
- Adoptium Temurin JDK 11 is breaking certificate install HOT 1
- Dependency Dashboard
- OpenJDK variant typo HOT 1
- Cant seem to install anything but the default OpenJDK 17 version HOT 1
- AdoptiumJDK
- openjdk_pkg_install fails when installing older than newest version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.