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

The activemq cookbook has been deprecated

Author provided reason for deprecation:

The activemq cookbook has been deprecated and is no longer being maintained by its authors. Use of the activemq cookbook is no longer recommended.

RSS

activemq (23) Versions 2.0.0

Installs activemq and sets it up as service

Policyfile
Berkshelf
Knife
cookbook 'activemq', '= 2.0.0', :supermarket
cookbook 'activemq', '= 2.0.0'
knife supermarket install activemq
knife supermarket download activemq
README
Dependencies
Changelog
Quality 0%

activemq Cookbook

Build Status
Cookbook Version

Installs Apache ActiveMQ and sets up the service using the included init script.

Requirements

Platforms

  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle

Chef

Chef 11+

Cookbooks

  • java

Attributes

  • 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
  • node['activemq']['enable_stomp'] - Flag that decides whether or not to use stomp. Note: This is only used when use_default_config attribute is true.
  • node['activemq']['use_default_config'] - Flag that allows the option to use a basic configuration file
  • node['activemq']['install_java'] - Whether or not to use the Java community cookbook to install Java. Defaults to true.
  • node['activemq']['enabled'] - Whether or not the ActiveMQ service should be started. Defaults to true.

Usage

Simply add recipe[activemq] to a run list.

Development

This section details "quick development" steps. For a detailed explanation, see [[Contributing.md]].

  1. Clone this repository from GitHub:

    $ git clone git@github.com:opscode-cookbooks/activemq.git
    
  2. Create a git branch

    $ git checkout -b my_bug_fix
    
  3. Install dependencies:

    $ bundle install
    
  4. Make your changes/patches/fixes, committing appropiately

  5. Write tests

  6. 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

License & Authors

Copyright:: 2009-2015, Chef Software, 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.

Dependent cookbooks

java ~> 1.13

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

activemq Cookbook CHANGELOG

This file is used to list changes made in each version of the activemq cookbook.

v2.0.0 (2015-09-07)

  • Default to ActiveMQ version 5.12.0
  • Updated to the latest out of the box ActiveMQ config XML file so that newer installs could be successfully started. This is a 100% breaking change for older ActiveMQ installs.
  • Added new attribute to decide if the service should be started or not: node['activemq']['enabled']. Defaults to true, but can be used with wrapper cookbooks that need to install additional configs before starting ActiveMQ
  • Added new attribute to decide if Java should be installed or not: node['activemq']['install_java']. Defaults to true
  • Fixed wrapper.conf to only template if node['activemq']['use_default_config'] is set
  • Updated Berksfile to 3.0 format
  • Update Kitchen CI config with additional platforms and the attributes necessary for a clean converge
  • Update Travis CI to test on Ruby 2/2.1/2.2 and to use the containe infrastructure and bundler caching for faster tests
  • Removed yum as a dependency in the Berksfile since it's not actually used anywhere
  • Added the new contributing and testing docs
  • Add a maintainers file
  • Updated all development dependencies in the Gemfile
  • Clarified that Chef 11+ is required in the readme
  • Added Travis and Supermarket badges in the readme
  • Added scientific oracle, and amazon to the metdata file
  • Add source_url and issues_url metadata to the metadata file
  • Added minimal Chefspec to test recipe convergence
  • Updated .gitignore and added a chefignore file
  • Fix serverspec tests to run with the the latest serverspec release

v1.3.5

  • Adding global amq distribution service switch

v1.3.4 (Development)

v1.3.3 (2015-04-03)

  • Metadata includes issues_url and source_url

v1.3.2 (2014-04-23)

  • [COOK-4557] activemq cookbook default mirror url is broken

v1.3.0

Bug

  • COOK-3309 - Fix service (re)start command
  • COOK-2846 - Add support for openSUSE
  • COOK-2845 - Support differing versions of wrapper.conf

v1.2.0

New Feature

v1.1.0

  • [COOK-2816] - update version to 5.8.0
  • [COOK-2817] - resolve foodcritic warning

v1.0.2

  • [COOK-800] - activemq cookbook should install 5.5.1 by default
  • [COOK-872] - activemq home directory isn't explicitly created

Foodcritic Metric
            

2.0.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/8e12fbd2bf306106b27e6183/activemq/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/8e12fbd2bf306106b27e6183/activemq/metadata.rb:1