example42 / puppet-jboss

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

How to include jboss class several times in the same manifest #2

Closed hadrouj closed 11 years ago

hadrouj commented 11 years ago

Sorry to log this as an issue, didn't know where to ask this siimple question : how can I install several jboss on the same server using this puppet module ? I imagine something like :

jboss { 'first_install': version => 4, port => 8080, }

jboss { 'second_install': version => 4, port => 9090, }

thank you !

alvagante commented 11 years ago

You have to use the jboss::instance define, which can be declared multiple times. Let me know if you have problems with it, it has not been widely tested under different conditions.

hadrouj commented 11 years ago

Actually I need different jBoss installations on the same server and not several instances. Is it possible ? thank you