bflad / chef-java-management Goto Github PK
View Code? Open in Web Editor NEWChef Cookbook for Java Management
License: Other
Chef Cookbook for Java Management
License: Other
Only stub test file currently.
When adding a key to the truststore, the resource skips the action if the key already exists but still sends a updated message, causing notifies to fire.
Recipe truststore fails when a JRE is installed. Chef client ends with the following error:
==> default: [2014-10-10T23:07:49+00:00] ERROR: file[/usr/java/default/jre/lib/security/truststore-my_root.pem] (java-management::truststore line 32) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /usr/java/default/jre/lib/security does not exist.
This is due to the following assignment in the recipe:
certificate_file = "#{node['java']['java_home']}/jre/lib/security/truststore-#{certalias}.pem"
certificate_file is a valid path when a JDK is installed. In case of a JRE installation, this path should be:
certificate_file = "#{node['java']['java_home']}/lib/security/truststore-#{certalias}.pem"
The default value of the keystore attribute in the truststore LWRP provider should also be set accordingly.
A possible fix could be to allow setting this path as a cookbook attribute.
Thank you for your support.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.