Skip to content
Puppet ActiveMQ Module
Puppet Ruby
Pull request Compare This branch is 7 commits ahead, 57 commits behind puppetlabs:master.
Failed to load latest commit information.
files activemq is not available for some debian versions, so I'm using the … Nov 22, 2012
manifests
spec Initial commit May 24, 2011
templates Fixing template variable access warnings Oct 17, 2013
tests activemq is not available for some debian versions, so I'm using the … Nov 22, 2012
.gitignore Add metadata.json to git ignore. Jun 17, 2011
.travis.yml Add Travis build Jun 6, 2013
CHANGELOG Fixing template variable access warnings Oct 17, 2013
Gemfile Fix Puppet 3.2.1 deprecation warnings Jun 6, 2013
LICENSE (#4) Add Apache Version 2.0 LICENSE Jun 21, 2011
Modulefile Fixing template variable access warnings Oct 17, 2013
README.markdown Add Travis build Jun 6, 2013
RELEASE_PROCESS.markdown Initial commit May 24, 2011
Rakefile Fix Puppet 3.2.1 deprecation warnings Jun 6, 2013

README.markdown

ActiveMQ

Build Status

This module configures ActiveMQ. It uses the Apache ActiveMQ binary package and the Java runtime.

Quick Start

Since this module uses the original binary package instead of linux distro packages you will need to download it after you install the module. I did not include the binary package due its size. Go to the website for the latest release link and pass the version name as a parameter to the class, see below:

puppet module install fsalum/activemq
cd /etc/puppet/modules/activemq/files
wget http://mirrors.ibiblio.org/apache/activemq/apache-activemq/5.7.0/apache-activemq-5.7.0-bin.tar.gz

The example in the tests directory provides a good example of how the ActiveMQ module may be used. In addition, the MCollective Module provides a good example of a service integrated with this ActiveMQ module.

node default {
  class  { 'java':
    distribution => 'jdk',
    version      => 'latest',
  }

  class  { 'activemq': }
}

Change the default user/password for mcollective and admin:

class  { 'activemq':
  webconsole              => true,
  stomp_user              => 'mcollective',
  stomp_passwd            => 'marionette',
  stomp_admin             => 'admin',
  stomp_adminpw           => 'secret',
  activemq_mem_min        => '1G',
  activemq_mem_max        => '1G',
  activemq_binary_version => 'apache-activemq-5.7.0',
}

The activemq_mem_min and activemq_mem_max were added in order to customize the memory when using Vagrant.

Contact Information

Related Work

This module is a fork from puppetlabs-activemq but instead of using the Linux distro package it uses the binary distribution from Apache ActiveMQ. Requires download of Apache ActiveMQ manually.

Web Console

The module manages the web console by default. The web console port is usually located at port 8161:

To disable this behavior, pass in webconsole => false to the class. e.g.

node default {
  class { 'activemq':
    webconsole => false,
  }
}
Something went wrong with that request. Please try again.