Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Add option multiple ports#345

Merged
bastelfreak merged 2 commits intovoxpupuli:masterfrom
tuenti:add_option_multiple_ports
Nov 11, 2017
Merged

Add option multiple ports#345
bastelfreak merged 2 commits intovoxpupuli:masterfrom
tuenti:add_option_multiple_ports

Conversation

@mrodm
Copy link
Contributor

@mrodm mrodm commented Apr 21, 2017

Currently, there is no option to specify different ports for each server in the configuration file. The same port is used for all the servers.
This PR adds the option to set a different port for each server defined in mcollective_hosts parameter. As example, this could be set in hiera:

mcollective::middleware_hosts:
  - server1
  - server2
mcollective::middlware_multiple_ports: true
mcollective::middleware_ports:
  - 61613
  - 61614

In this example, the configuration file will be like:

plugin.rabbitmq.pool.1.host = server1
plugin.rabbitmq.pool.1.port = 61613
plugin.rabbitmq.pool.2.host = server2
plugin.rabbitmq.pool.2.port = 61614

@mrodm mrodm force-pushed the add_option_multiple_ports branch 2 times, most recently from 3d19089 to 89f21c2 Compare April 21, 2017 09:29
@mrodm mrodm force-pushed the add_option_multiple_ports branch from 89f21c2 to 231c207 Compare April 21, 2017 20:10
@bastelfreak bastelfreak added the enhancement New feature or request label Nov 11, 2017
@bastelfreak
Copy link
Member

Thanks @mrodm!

@bastelfreak bastelfreak merged commit e46f651 into voxpupuli:master Nov 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants