Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

jboss7 (7) Versions 0.11.0

Installs/Configures jboss7

Policyfile
Berkshelf
Knife
cookbook 'jboss7', '= 0.11.0', :supermarket
cookbook 'jboss7', '= 0.11.0'
knife supermarket install jboss7
knife supermarket download jboss7
README
Dependencies
Quality -%

jboss7-cookbook

This is a JBoss 7 cookbook. It's still in development. Feel free to contribute.

V. 0.11.0 - Added a jboss7_user provider to create JBoss 7 standalone mgmt users.
- Added sane defaults for bind addresses.

V. 0.10.2 - I realize I forgot to include sane defaults for the port numbers. Now added.

Supported Platforms

Ubuntu 12.04

TODO: CentOS, Windows

Providers

jboss7_user - JBoss 7 user takes two attributes, the "name" of the resource is the account you're adding to the management realm.
The password is HEX( MD5( username ':' realm ':' password)). The example password is: HEX( MD5(Administrator:ManagementRealm:changeit!))
You should be able to login to your JBoss management console with the user Administrator, password changeit!
The provider uses sed -i to delete users therefore is not GNU sed compliant. User beware!
The provider also only concerns itself with the standalone configuration.

TODO: Maybe put password in an encrpted databag?
Refactor into a HWRP/library to use native ruby commands to modify jboss user file, in order to be platform independant.
Add domain user configuration.

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['jboss7']['jboss_home']</tt></td>
<td>String</td>
<td>Path to the parent directory where JBoss will be installed. E.g., if you want JBoss installed in /opt/jboss, this would be /opt/</td>
<td><tt>/opt/jboss/</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['jboss_user']</tt></td>
<td>String</td>
<td>User for JBoss to run as.</td>
<td><tt>web</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['dl_url']</tt></td>
<td>String</td>
<td>URL to download the JBoss tarball from.</td>
<td><tt>http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.tar.gz</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['jvm_min_mem']</tt></td>
<td>String</td>
<td>Sets your Xms JVM parameter</td>
<td><tt>512m</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['jvm_max_mem']</tt></td>
<td>String</td>
<td>Sets your Xmx JVM parameter</td>
<td><tt>1024m</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['jvm_perm_mem']</tt></td>
<td>String</td>
<td>Sets your PermGenSpace JVM parameter</td>
<td><tt>256m</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['ajp_port']</tt></td>
<td>String</td>
<td>Sets your AJP port in standalone.xml</td>
<td><tt>8009</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['http_port']</tt></td>
<td>String</td>
<td>Sets your HTTP port in standalone.xml</td>
<td><tt>8080</tt></td>
</tr>
<tr>
<td><tt>['jboss7']['https_port']</tt></td>
<td>String</td>
<td>Sets your HTTPS port in standalone.xml</td>
<td><tt>8443</tt></td>
</tr>
</table>

Usage

jboss7::default

Include jboss7 in your node's run_list:

{
  "run_list": [
    "recipe[jboss7::default]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  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

License and Authors

Author:: Andrew DuFour (andy.k.dufour@gmail.com)

Dependent cookbooks

apt >= 0.0.0
java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found