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.
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 runner
recipe[activemq] to a run list.
License and Author
Author:: Joshua Timberman (email@example.com)
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
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.