Ask Your Question
1

How to setup JBoss Application Server with Puppet?

asked 2013-04-30 04:34:35 -0500

BenCes gravatar image

I have a master-slave puppet set-up. I need to configure some puppet-scripts on my master-device, that a JBoss Application Server (latest version) Instance is installed and correctly configured on this setup.

This is what I've done so far:

  • A simple master-slave HelloWorld example up and running on master and slave
  • Googleing for two days on this particular question didn't gave me a good step-by-step tutorial.

I hope somebody can help me out with this one.

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-04-30 11:40:59 -0500

Ancillas gravatar image

updated 2013-05-02 17:08:58 -0500

I've written an internal module for installing JBoss. We packaged up the version of JBoss that we wanted as a debian, and hosted it on our apt repo. We then wrote a simple module to install the package with the Package resource, and then took the changes we normally make to the configs manually, and baked them into our Puppet code in the form of files and ERB templates.

Where exactly are you getting stuck? If you have Hello world working, then you must have JBoss installed, right? So now it's just a matter of changing your configs ... (more)

edit flag offensive delete link more

Comments

Just a HelloWorld class with a simple "ensure => installed". No JBoss installed yet, can you help me out with writing the internal module? Since I have zero experience with Puppetscripts.

BenCes gravatar imageBenCes ( 2013-05-02 05:21:59 -0500 )edit

If you have JBoss packaged up as an RPM or a DEB, you can use the Package resource in puppet to install it, and then mainly use FIle resources to ...(more)

Ancillas gravatar imageAncillas ( 2013-05-02 17:05:01 -0500 )edit

Here are some resources that you can use to learn to write Puppet code.

(Edit) - I put the links in my answer for better formatting.

Ancillas gravatar imageAncillas ( 2013-05-02 17:05:53 -0500 )edit

Thank you very much!

BenCes gravatar imageBenCes ( 2013-05-03 03:01:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-04-30 04:34:35 -0500

Seen: 1,304 times

Last updated: May 02 '13