fuel-library/deployment/puppet/rabbitmq
2013-03-07 09:34:11 -08:00
..
files Added missing explicit RETVAL value in case of successfull Rabbit start. 2013-03-07 09:34:11 -08:00
lib/puppet Make rabbitmqctl command optional in rabbitmqctl provider 2012-10-23 20:10:06 -07:00
manifests Separated ubuntu and RHEL versions of rabbitmq init script. 2013-02-12 20:26:36 +04:00
spec RSpec tests for rabbitmq::repo::rhel 2012-08-02 16:30:55 -07:00
templates Fix rabbit configuration without cluster 2012-11-29 15:09:44 +04:00
tests tested support for 2.7.1 plugins and updated documentation 2012-01-09 22:21:09 +11:00
.fixtures.yml Update new modulefile template 2012-05-25 14:16:01 -07:00
.gemfile Switch from duplicated files to using the puppetlabs_spec_helper gem for common tasks 2012-06-08 14:34:37 -07:00
.gitignore Ignore metadata.json 2013-01-11 14:09:25 +04:00
.project Add project files 2013-01-10 18:37:05 +04:00
.travis.yml Switch from duplicated files to using the puppetlabs_spec_helper gem for common tasks 2012-06-08 14:34:37 -07:00
CHANGELOG Update Modulefile, CHANGELOG for 2.0.2 release 2012-07-31 07:20:10 -07:00
LICENSE checked in gitignore, apache license and todo list 2011-06-06 08:23:38 -07:00
Modulefile Update Modulefile, CHANGELOG for 2.0.2 release 2012-07-31 07:20:10 -07:00
Rakefile Switch from duplicated files to using the puppetlabs_spec_helper gem for common tasks 2012-06-08 14:34:37 -07:00
README.md Adding RPM/RHEL support 2012-07-30 02:18:52 +00:00
TODO updated README and TODO. 2011-06-14 11:19:31 -07:00

RabbitMQ Puppet Module

This module manages the RabbitMQ Middleware service.

This module has been tested against 2.7.1 and is known to not support all features against earlier versions.

Authors

Classes

This module provides its core functionality through two main classes:

rabbitmq::repo::rhel

Installs the RPM from rabbitmq upstream, and imports their signing key

class { 'rabbitmq::repo::rhel':
    $version    => "2.8.4",
    $relversion => "1",
}

rabbitmq::repo::apt

Sets up an apt repo source for the vendor rabbitmq packages

class { 'rabbitmq::repo::apt':
  pin    => 900,
  before => Class['rabbitmq::server']
}

rabbitmq::server

Class for installing rabbitmq-server:

class { 'rabbitmq::server':
  port              => '5673',
  delete_guest_user => true,
}

Native Types

NOTE: Unfortunately, you must specify the provider explicitly for these types

rabbitmq_user

query all current users: $ puppet resource rabbitmq_user

rabbitmq_user { 'dan':
  admin    => true,
  password => 'bar',
  provider => 'rabbitmqctl',
}

rabbitmq_vhost

query all current vhosts: $ puppet resource rabbitmq_vhost

rabbitmq_vhost { 'myhost':
  ensure => present,
  provider => 'rabbitmqctl',
}

rabbitmq_user_permissions

rabbitmq_user_permissions { 'dan@myhost':
  configure_permission => '.*',
  read_permission      => '.*',
  write_permission     => '.*',
  provider => 'rabbitmqctl',
}

rabbitmq_plugin

query all currently enabled plugins $ puppet resource rabbitmq_plugin

rabbitmq_plugin {'rabbitmq_stomp':
  ensure => present,
  provider => 'rabbitmqplugins',
}