RETIRED, Puppet Qpid Dispatch Router Module
Go to file
Andrew Smith dcd40cae91 Fix permissions on qdrouterd.sasldb
The saslpasswd2 is used to create users for the qdrouterd server. The
qdr_user provider needs to ensure permissions are correctly set for
the qdrouterd service to access the user data base during operation
(qdrouterd.sasldb).

Closes-Bug: #1707662
Change-Id: I60f2b4e1f11371098cfa29102fa12158b7b4acab
2017-08-07 12:46:26 -04:00
examples Remove sasldb file as parameter for qdr_user type 2017-01-16 15:39:30 -05:00
lib/puppet Fix permissions on qdrouterd.sasldb 2017-08-07 12:46:26 -04:00
manifests Update ensurable for qdr types and directory 2017-07-28 13:23:22 -04:00
spec Update ensurable for qdr types and directory 2017-07-28 13:23:22 -04:00
templates Add external listener, connector and address configuration 2017-05-24 10:48:01 -04:00
.fixtures.yml Add basic fixture file 2016-04-13 08:53:27 -04:00
.gitignore Fix puppet-qdr testing 2016-10-13 15:30:05 -06:00
.gitreview Add openstack .gitreview 2016-10-13 21:38:20 +00:00
Gemfile Fix puppet-qdr testing 2016-10-13 15:30:05 -06:00
LICENSE Add LICENSE file 2016-04-14 08:44:01 -04:00
README.md Remove sasldb file as parameter for qdr_user type 2017-01-16 15:39:30 -05:00
Rakefile Fix puppet-qdr testing 2016-10-13 15:30:05 -06:00
bindep.txt Add bindep support 2017-03-13 12:37:24 -04:00
metadata.json Update router_worker_threads to os_workers 2017-01-10 08:51:01 -05:00

README.md

Team and repository tags

Team and repository tags

qdr

Table of Contents

  1. Overview
  2. Module Description - Manage the QPID Dispatch Router
  3. Setup - The basics of getting started with qdr
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module manages the QPID Dispatch Router (qdr) found at:

 http://qpid.apache.org/components/dispatch-router/

The dispatch router provides flexible and scalable interconnect between any AMQP 1.0 endpoints, whether they be clients, brokers or other AMQP-enabled services

Support is intended for Red Hat and Ubuntu OS family deployed with Pupppet V4.x

Module Description

This module sets up the installations, configuration and management of the QPID Dispatch Router (qdr) class and has a number of providers that correpsond the router configuration entities such as listeners and connectors.

This module will facilitate the deployment of a full/partial mesh topology of QPID Dispatch Routers serving as the messaging interconnect for a site.

Setup

What qdr affects

  • repository files
  • packages
  • configuration files
  • service
  • configuration entities

Beginning with qdr

include '::qdr'

The default configuration currently installs Qpid-Dispatch-Router 0.6

Usage

All configuration parameters can be managed via the main qdr class.

class { '::qdr' :
  service_enable            => true,
  container_workder_threads => 4,
  listener_port             => 15672,
}

Class Reference

  • qdr: Provides the basic installation and configuration sequence
  • qdr::config: Provides qdrouterd configuration
  • qdr::install: Performs package installations
  • qdr::params: Aggregates configuration data for router
  • qdr::service: Manages the qdrouterd service state

Resource Types

qdr_address

Resource to manage address prefixes for distribution and phasing

Query all current internal addresses: '$puppet resource qdr_address'

qdr_address { 'anyAddress' :
  prefix       => 'unicast',
  distribution => 'closest',
}

qdr_connector

Resource configuration entity to establish outgoing connections from the router.

Query all current connectors: '$puppet resource qdr_connector'

qdr_connector { 'anyConnector' :
  addr           => '10.10.10.10',
  port           => '1234',
  role           => 'inter_router',
  max_frame_size => '65536',
}

qdr_listener

Listens for incoming connection requests to the router

Query all current listeners: '$puppet resource qdr_listener'

qdr_listener { 'anyListener' :
  addr            => '10.10.10.10',
  port            => '5678',
  role            => 'normal',
  sasl_mechanisms => 'DIGEST-MD5,EXTERNAL',
}

qdr_log

Control log settings for a particular module on the running router

Query all current log module settings: '$puppet resource qdr_log'

qdr_user

Users for internal sasl authentication

Query all current internal users: '$puppet resource qdr_user'

qdr_user { 'anyUser' :
  password => 'changeme',
}

Resource Providers

qdmanage

An AMQP management client tool for used with any standard AMQP managed endpoint.

Limitations

This module has been tested on the following platforms:

  • CentOS 7
  • Ubuntu 15.10

Apt module dependence

If running Debian os family, puppetlabs-apt module is required

Development

Release Notes/Contributors/Etc Optional

If you aren't using changelog, put your release notes here (though you should consider using changelog). You may also add any additional sections you feel are necessary or important to include here. Please use the ## header.