Pull request Compare This branch is 974 commits behind voxpupuli:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
files
lib/puppet
manifests
spec
templates
tests
.gitignore
CHANGELOG
LICENSE
Modulefile
README
TODO

README

# RabbitMQ Puppet Module

Jeff McCune <jeff@puppetlabs.com>
Dan Bode <dan@puppetlabs.com>

This module manages the RabbitMQ Middleware service.

This module will be updated and released to the forge shortly:
(http://forge.puppetlabs.com/)

RabbitMQ Packages are published in the Puppet Labs ProSvc repository at:
[yum.puppetlabs.com](http://yum.puppetlabs.com/prosvc/)

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

classes:

This module provides its core functionality through two main classes:

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,
}

This module also contains 3 native types:
(unfortunately, you must specify the provider explicitly for these types)

rabbitmq_user

- query all current users:
#>puppet resource rabbitmq_user 

- manage 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',
}

rabbit_user_permissions:

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