Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 640 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 640 Bytes

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')