example42 / puppet-jboss

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

Specify java home via init.pp parameter instead of providing jboss:instance custom template for init script #43

Open diegoliber opened 8 years ago

diegoliber commented 8 years ago

I know about issues #39 and #40, but how difficult it is to provide a java_home parameter for your module? The ability to provide a custom init.d script is nice but technically I will have to encapsulate your module in another module (perhaps a profile?) and provide a custom erb template for init.d.

Additionally, if I have only a single app and a single jboss instance in one server, why should I use a jboss::instance definition? Isn't it too much work instead of just defining a java_home parameter?

Can your team please add this issue to your roadmap or at least leave it open for a community contribution?