cookbook 'jboss-deploy', '~> 0.4.0'
jboss-deploy (3) Versions 0.4.0 Follow2
Deploy applications to Jboss-eap
cookbook 'jboss-deploy', '~> 0.4.0', :supermarket
knife supermarket install jboss-deploy
knife supermarket download jboss-deploy
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_loc 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_loc
- determines the package download location. (temporary) -
owner
- the OS user. -
group
- the OS user group. -
mode
- defines the permissions. -
package_url
- the package URL. -
checksum
- the checksum of the package. (sha256) -
module_name
- defines the name of the module. -
host
- the host name forcli
access. -
offset
- specifies the offset of the jboss instances. -
jboss_mode
- defines the jboss mode, defaultstandalone
. -
jboss_home
- Jboss home directory. -
mgmtport
- Jboss management port. -
action
must be set asdeploy
orundeploy
.
jmodule
(Supports on standalone and domain modes.)
The full syntax for all the properties that are available to the jmodule
resource is:
jmodule 'name' do
owner String, default: 'root'
module_name String
host String, default: '127.0.0.1'
offset Integer, default: 0
jboss_home String, default: '/opt/jboss/'
mgmtport Integer, default: 9999
jdbc_loc String
dep_list String
jdbc_driver_name String
class_name String
action Symbol, default: create
end
where
-
owner
- the OS user. -
module_name
- defines the name of the module -
host
- the host name forcli
access. -
offset
- specifies the offset of the jboss instances. -
jboss_home
- Jboss home directory. -
mgmtport
- Jboss management port. -
jdbc_loc
-jdbc
driver location. -
dep_list
- specifies the list of dependencies. -
jdbc_driver_name
- defines the driver name. -
class_name
- defines the fully qualified class. -
action
must be set ascreate
.
datasource
(Supports on standalone and domain modes.)
The full syntax for all the properties that are available to the datasource
resource is:
datasource 'name' do
owner String, default: 'root'
host String, default: '127.0.0.1'
offset Integer, default: 0
jboss_home String, default: '/opt/jboss/'
mgmtport Integer, default: 9999
jdbc_loc String
dep_list String
jdbc_driver_name String
class_name String
username String
password String
action Symbol, default: create
end
-
owner
- the OS user. -
module_name
- defines the name of the module -
host
- the host name forcli
access. -
offset
- specifies the offset of the jboss instances. -
jboss_home
- Jboss home directory. -
mgmtport
- Jboss management port. -
jdbc_loc
-jdbc
driver location. -
dep_list
- specifies the list of dependencies. -
jdbc_driver_name
- defines the driver name. -
class_name
- defines the fully qualified class. -
username
- database user name. -
password
- database password. -
action
must be set ascreate
.
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
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- 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.
0.3.0
- [Janith] - Supports modules and datasources (standalone mode only).
0.4.0
- [Janith] - Some enhancements to all resources.
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.4.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.4.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
0.4.0 failed this metric
FC066: Ensure chef_version is set in metadata: jboss-deploy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: jboss-deploy/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.4.0 passed this metric
Testing File Metric
0.4.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
Version Tag Metric
0.4.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 include a tag that matches this cookbook version number
0.4.0 failed this metric
0.4.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
0.4.0 failed this metric
FC066: Ensure chef_version is set in metadata: jboss-deploy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: jboss-deploy/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.4.0 passed this metric
Testing File Metric
0.4.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
Version Tag Metric
0.4.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 include a tag that matches this cookbook version number
0.4.0 failed this metric
FC069: Ensure standardized license defined in metadata: jboss-deploy/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.4.0 passed this metric
Testing File Metric
0.4.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
Version Tag Metric
0.4.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 include a tag that matches this cookbook version number
0.4.0 failed this metric
0.4.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 include a tag that matches this cookbook version number