Skip to content

Chef cookbok to install RabbitMQ on Windows

License

Notifications You must be signed in to change notification settings

btc-ag/chef-rabbitmq-win

Repository files navigation

RabbitMQ Windows cookbook

Build Status Cookbook version

This cookbook can be used to install erlang and RabbitMQ on Windows nodes

Simple usage

Define the variables

default['rabbitmq-win']['erl-version'] = '21.2'
default['rabbitmq-win']['version'] = '3.7.10'
default['rabbitmq-win']['base'] = ''

and include the rabbitmq_win::default recipe. This will install erlang, set the ERLANG_HOME variable, install rabbitmq, start the service and install rabbit mq management console. If the base variable is left empty, RabbitMQ will use a path in the users home directory. You should set this variable for servers.

Usage with wrapper cookbooks

The cookbook defines two resources, rabbitmq_win_erlang and rabbit_mq_win.

Usage example to install RabbitMQ:

rabbitmq_win_erlang "21.2" do
  action :install
end

rabbitmq_win "3.7.10" do
  action :install
  base 'C:\rabbitmq\data'
end

rabbitmq_win_plugin 'management'

Example to remove a plugin

rabbitmq_win_plugin 'mqtt' do
  action :remove
end

Usage example to remove RabbitMQ:

rabbitmq_win "3.7.10" do
  action :remove
end

rabbitmq_win_erlang "21.2" do
  action :remove
end

About

Chef cookbok to install RabbitMQ on Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages