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


jboss7 (7) Versions 0.11.2

Installs/Configures jboss7

cookbook 'jboss7', '= 0.11.2', :supermarket
cookbook 'jboss7', '= 0.11.2'
knife supermarket install jboss7
knife supermarket download jboss7
Quality 25%


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

V. 1.0.0 - Breaking change - service is changed from jboss to jboss7.
- Added travis to repo, working on automated tests.
- Lots of rubocop style fixes.

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 14.04

TODO: CentOS, Windows


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.

GIT Location


<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>User for JBoss to run as.</td>
<td>Group for JBoss to run as.</td>
<td>URL to download the JBoss tarball from.</td>
<td>Sets your Xms JVM parameter</td>
<td>Sets your Xmx JVM parameter</td>
<td>Sets your PermGenSpace JVM parameter</td>
<td>Sets your AJP port in standalone.xml</td>
<td>Sets your HTTP port in standalone.xml</td>
<td>Sets your HTTPS port in standalone.xml</td>



Include jboss7 in your node's run_list:

  "run_list": [


  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 (

Dependent cookbooks

apt >= 0.0.0
java >= 0.0.0
ark >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


Initial release of jboss7

  • Enhancements

    • an enhancement
  • Bug Fixes

    • a bug fix

Collaborator Number Metric

0.11.2 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric

0.11.2 failed this metric

FC085: Resource using new_resource.updated_by_last_action to converge resource: jboss7/providers/user.rb:82
FC085: Resource using new_resource.updated_by_last_action to converge resource: jboss7/providers/user.rb:93
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.11.2 passed this metric

Version Tag Metric

0.11.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must include a tag that matches this cookbook version number