# Sets up the rabbitmq config file
#
class rabbitmq::config {
- include rabbitmq::packages
include concat::setup
concat { '/etc/rabbitmq/rabbitmq.config':
+++ /dev/null
-# == Class: rabbitmq::packages
-#
-# Installs all the rabbitmq software
-#
-class rabbitmq::packages {
- $ensure = installed
-
- package { 'rabbitmq-server':
- ensure => $ensure,
- require => User['rabbitmq']
- }
-}
+++ /dev/null
-class rabbitmq::packages {
- package { 'rabbitmq-server': }
- service { 'rabbitmq-server': }
-}
-class concat::setup {}
-
-include rabbitmq::config
+++ /dev/null
-class site::users::system::rabbitmq {}
-class rabbitmq::config {}
-class rabbitmq::packages {
- package { 'rabbitmq-server': }
-}
-include rabbitmq
+++ /dev/null
-class site::aptrepo::rabbitmq {}
-class site::yumrepo::rabbitmq {}
-class site::users::system::rabbitmq {
- user { 'rabbitmq': }
-}
-include rabbitmq::packages
-