Installs activemq and sets up a service using the init script that comes with it.
Tested on Ubuntu 10.04 and CentOS 5.5. Should work on any Debian or Red Hat family distributions.
- java
node['activemq']['mirror']
- download URL up to the activemq/apache-activemq directory.node['activemq']['version']
- version to install.node['activemq']['home']
- directory to deploy to (/opt by default)node['activemq']['wrapper']['max_memory']
- maximum amount of memory to use for activemq.node['activemq']['wrapper']['useDedicatedTaskRunner']
- whether to use the dedicated task runnernode['activemq']['enable_stomp']
- Flag that decides whether or not to use stomp. Note: This is only used whenuse_default_config
attribute is true.node['activemq']['use_default_config']
- Flag that allows the option to use a basic configuration file
Simply add recipe[activemq]
to a run list.
This section details "quick development" steps. For a detailed explanation, see [[Contributing.md]].
-
Clone this repository from GitHub:
$ git clone [email protected]:opscode-cookbooks/activemq.git
-
Create a git branch
$ git checkout -b my_bug_fix
-
Install dependencies:
$ bundle install
-
Make your changes/patches/fixes, committing appropiately
-
Write tests
-
Run the tests:
bundle exec foodcritic -f any .
bundle exec rspec
bundle exec rubocop
bundle exec kitchen test
In detail: - Foodcritic will catch any Chef-specific style errors - RSpec will run the unit tests - Rubocop will check for Ruby-specific style errors - Test Kitchen will run and converge the recipes
- Author:: Joshua Timberman ([email protected])
Copyright:: 2009-2011, Opscode, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.