How to use puppetlabs java module?

276 views
Skip to first unread message

Craig Cook

unread,
Jan 24, 2013, 11:49:38 AM1/24/13
to puppet...@googlegroups.com
I have installed the puppetlabs java module.

I am not clear on how to use it though.  The "Sample Usage:" section of init.pp in the manifests dir is blank...

"The Java runtime this module is designed to configure are the RPM's provided by Oracle and obtained by extracting them from the "bin" installers."

ok.  Does this mean I need to download the "jdk-6u25-linux-x64-rpm.bin" file and place in a certain dir?

Do I actually run the "-x" and extract it on my puppet server? (in the java modules dir?)

What is the syntax to get java6-u25 installed on a RedHat client?

How do I install java5 on a different client?

I would like to have a puppet class  like this:

java::jdk-6u25

or this

java::jdk-5u25

Then I could apply those classes using my ENC to certain hosts.  Is that possible?

We are using puppet 2.6.17 if it matters.

Thanks

Craig

Reply all
Reply to author
Forward
0 new messages