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 1.0.0

Installs/Configures jboss7

Policyfile
Berkshelf
Knife
cookbook 'jboss7', '~> 1.0.0', :supermarket
cookbook 'jboss7', '~> 1.0.0'
knife supermarket install jboss7
knife supermarket download jboss7
README
Dependencies
Changelog
Quality 25%

jboss7-cookbook

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

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.

GIT Location

https://github.com/andy-dufour/chef-jboss7

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']['jboss_group']</tt></td>
<td>String</td>
<td>Group 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
ark >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of jboss7

  • Enhancements

    • an enhancement
  • Bug Fixes

    • a bug fix

Collaborator Number Metric
            

1.0.0 failed this metric

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

Contributing File Metric
            

1.0.0 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file