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

RSS

jboss-deploy (3) Versions 0.2.0

Deploy applications to Jboss-eap

Berkshelf/Librarian
Policyfile
Knife
cookbook 'jboss-deploy', '= 0.2.0'
cookbook 'jboss-deploy', '= 0.2.0', :supermarket
knife cookbook site install jboss-deploy
knife cookbook site download jboss-deploy
README
Dependencies
Changelog
Quality

jboss-deploy Cookbook

This cookbook deploys war files in jboss-eap server for both standalone and domain modes.

Requirements

Platforms

  • RHEL/CentOS
  • jboss-eap 6.4

Chef

  • Chef 12.0 or later

Attributes

jboss-deploy::default

Custom Resources

deployer

The full syntax for all the properties that are available to the deployer resource is:


deployer 'name' do

      _file_path    String, default: '/tmp'
      _owner        String, default: 'root'
      _group        String, default: 'root'
      _mode         String, default: '644'
      _package_url  String
      _checksum     String
      _module_name  String
      _host         String, default: '127.0.0.1'
      _offset       Integer, default: 0
      _jboss_mode   String, default: 'standalone'
      _jboss_home   String, default: '/opt/jboss/'
      mgmtport      Integer, default: 9999
      action        Symbol, default: deploy

end

where

  • _file_path is the temporary download location.
  • _owner is the OS user.
  • _group is the OS user group.
  • _mode defines the permissions.
  • _package_url is the package URL.
  • _checksum is the checksum of the package. (sha256)
  • _module_name defines the name of the module.
  • _host host name for cli access.
  • _offset defines the offset of the jboss instances.
  • _jboss_mode defines the jboss mode, default standalone.
  • _jboss_home is the location of Jboss home directory.
  • mgmtport is the Jboss management port.
  • action must be set as deploy or undeploy.

Usage

jboss-deploy::default

Just include jboss-deploy in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[jboss-deploy]"
  ]
}

Clone

git clone https://github.com/jantwisted/chef-jboss-deploy.git

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

License and Authors

Authors: Janith (janith@member.fsf.org)

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

jboss-deploy CHANGELOG

This file is used to list changes made in each version of the jboss-deploy cookbook.

0.1.0

  • [Janith] - Initial release of jboss-deploy.

0.2.0

  • [Janith] - Supports Jboss Jboss domain mode.

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.2.0 failed this metric

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

Foodcritic Metric
            

0.2.0 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cb0649a63f3ec162bd70b693/jboss-deploy/resources/deployer.rb:37
FC002: Avoid string interpolation where not required: /tmp/cb0649a63f3ec162bd70b693/jboss-deploy/resources/deployer.rb:53
FC016: LWRP does not declare a default action: /tmp/cb0649a63f3ec162bd70b693/jboss-deploy/resources/deployer.rb:1