Skip to content

crowdtap/puppet-rabbitmq

Repository files navigation

RabbitMQ Puppet Module for Boxen

Usage

include rabbitmq

Required Puppet Modules

  • boxen
  • homebrew
  • stdlib

Environment

Once installed, you can access the following variables in your environment, projects, etc:

  • BOXEN_RABBITMQ_PORT: the configured rabbitmq port
  • BOXEN_RABBITMQ_URL: the URL for rabbitmq, including localhost & port
  • BOXEN_RABBITMQ_MGMT_PORT: the configured rabbitmq management port
  • BOXEN_RABBITMQ_MGMT_URL: the URL for rabbitmq management, including localhost & port

Ruby

$rabbitmq = RabbitMQ.new(:host => '127.0.0.1', :port => ENV['BOXEN_RABBITMQ_PORT'] || '5672')