example42 / puppet-jboss

Jboss Puppet Module
http://www.example42.com
Other
15 stars 25 forks source link

How do I update JAVA_HOME when not using the default java installed? #39

Closed rodriguesalex closed 9 years ago

rodriguesalex commented 9 years ago

I do not see an option to update JAVA_HOME to a specific location which is not the default. How can I do this before the application server is started for the first time?

alvagante commented 9 years ago

There's not a dedicated param, but just can provide custom templates for the init scripts where you can set your own JAVA_HOME. I think this is the quickest solution, given the current codebase.