Skip to content

psyreactor/jboss-cookbook

Repository files navigation

Build Status Jboss Cookbook

This cookbook installs JBoss EAP from a zip. This cookbook is based on jboss-eap cookbook(not is a fork)

####Jboss EAP "Boss is a division of Red Hat that provides support for the JBoss open source application server program and related services marketed under the JBoss Enterprise Middleware Suite (JEMS) brand. It is an open source alternative to commercial offerings from IBM WebSphere, Oracle BEA Services, and SAP NetWeaver.

The JBoss applications server is a J2EE platform for developing and deploying enterprise Java applications, Web applications and services, and portals. J2EE allows the use of standardized modular components and enables the Java platform to handle many aspects of programming automatically"

Requirements

  • java - Not managed by this cookbook, yuo can use java-cookbook
  • JBoss EAP 6 - Packaged as a zip and stored on a web server acccessible by the node.
  • JBoss EAP 5 - Packaged as a zip and stored on a web server acccessible by the node.

Cookbooks:

  • No depends

The following platforms and versions are tested and supported using Opscode's test-kitchen.

  • CentOS 5.8, 6.3

The following platform families are supported in the code, and are assumed to work based on the successful testing CentOS.

  • Red Hat (rhel)
  • Fedora
  • Amazon Linux

Recipes

jboss:default

The recipe install jboss-eap, according to the version defined in node[:jboss][: version]. The cookbook install versions 5 or 6 jboss-eap.

jboss:jboss5 or jboss:jboss6

Basic Config
Key Type Description Default
node[:jboss][:version] String version of jboss to install 6.2.0
node[:jboss][:url] String url for local repo http://localhost/jboss/
node[:jboss][:path] String Install Path for jboss /opt
node[:jboss][:application] String name of application app
node[:jboss][:checksum] String checksum of zip file 73c542c2e7f1102a3b51ab62e14023bcda227e737233327d2f17aa361c9ff05c
node[:jboss][:jboss_user] String user for run jboss jboss
node[:jboss][:jboss_group] String user group for run jboss jboss
node[:jboss][:java_home] String set home of java nil
node[:jboss][:java_opts] String java ops settings '-Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true'
node[:jboss][:admin_user] String User for admin console admin
node[:jboss][:admin_passwd] String Password for admin console user password
node[:jboss][:startup_wait] integer startup time wait the init script to give error 30
node[:jboss][:shutdown_wait] integer shutdown time wait the init script to give error 30
node[:jboss][:port_offset] integer define port bind offset 0

Usage

jboss::default

Example role:

name "jboss"
description "JBoss EAP install"
run_list [
    "recipe[jboss]",
    ]

"default_attributes": {
  "jboss": {
      "install_path": "/opt",
      "application": "server1",
      "url": "https://yourserver.local/jboss/",
      "checksum": "0ef5d62a660fea46e0c204a9f9f35ad4",
      "version": "6.2.0",
      "admin_user": "admin",
      "admin_passwd": "password",
      "port_offset": "100"
    }
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

More details

License and Authors

Authors: Lucas Mariani (Psyreactor)


About

Chef Cookbook Jboss EAP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages