fuel-library/deployment/puppet/rabbitmq/CHANGELOG.md
Bogdan Dobrelya 507d54e4c9 Adapt rabbitmq module for Fuel
* Sync to v5.0.0 (supports Ubuntu 14.04, major SSL fixes)
* Fix deprecated in 5.0.0 params
* Reimplement waiting/retries in rabbitmq provider
  (https://tickets.puppetlabs.com/browse/MODULES-1452)
* Configure clustering with an erlang cookie hardcode. Also
  pass the cookie to the OCF script.
* Make OCF script always update an erlang cookie, if specified
  (default false)
* Add dependency module: nanliu-staging
* Add support for rabbimtq class false value for nova module
  (https://bugs.launchpad.net/puppet-nova/+bug/1407077)
* Do not use nova::rabbitmq to install and configure rabbitmq
  service anymore, install it separately.
  (TODO move it as a granular deploy step)
* Adjust other existing rabbit class calls for new 5.0.0 rabbit module
* Remove deprecated usage of rabbitmq::server class and replace it
  to ::rabbitmq (cinder, murano, openstack, zabbix, mcollective,
  nailgun)
* Remove rabbit.pub.key and do not manage repos for rabbit package
  as we have it in nailgun repos and Fuel uses these repos for offline
  installation of rabbitmq.
  (Related upstream bug https://tickets.puppetlabs.com/browse/MODULES-1631)
* Move custom rabbit OCF file from nova to openstack and remove
  OS-aware services disable from rabbit's manifests
* Make pacemaker provider HA wrapper for rabbitmq service and move
  it to pacemaker_wrappers::rabbitmq
* Fix linting
* Fix rabbitmq service name for zabbix mon
* Fix env_config for rabbitmq::nailgun, unify RABBIT_* env args.
* Use key_content, package_gpg_key, config_*, cluster_*,
  environment_* params to ensure the same rabbit configuration as
  before and make offline installation possible.
* Add cluster_partition_handling param for openstack::controller
* Del unused rabbitmq_node_ip_address and rename as node_ip_address
* Del unneeded rabbit_cluster due to it is being evaluated via
  passed rabbitmq_cluster_nodes as well
* Adjust debug log_levels for rabbit config as well
* For '$production !~ /docker/' case, remove custom init scripts
  for rabbit as non relevant anymore.
* Enable rspec tests for rabbitmq in utils
* Disable rspecs for erlang module.

Related blueprint merge-openstack-puppet-modules
Related-bug: #1377491

Change-Id: I6e631b975c5835d2d6f1984d5a070a45231fe9ab
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-01-09 16:11:28 +01:00

7.0 KiB

2014-12-22 - Version 5.0.0

Summary

This release fixes a longstanding security issue where the rabbitmq erlang cookie was exposed as a fact by managing the cookie with a provider. It also drops support for Puppet 2.7, adds many features and fixes several bugs.

Backwards-incompatible Changes

  • Removed the rabbitmq_erlang_cookie fact and replaced the logic to manage that cookie with a provider.
  • Dropped official support for Puppet 2.7 (EOL 9/30/2014 https://groups.google.com/forum/#!topic/puppet-users/QLguMcLraLE )
  • Changed the default value of $rabbitmq::params::ldap_user_dn_pattern to not contain a variable
  • Removed deprecated parameters: $rabbitmq::cluster_disk_nodes, $rabbitmq::server::manage_service, and $rabbitmq::server::config_mirrored_queues

Features

  • Add tcp_keepalive parameter to enable TCP keepalive
  • Use https to download rabbitmqadmin tool when $rabbitmq::ssl is true
  • Add key_content parameter for offline Debian package installations
  • Use 16 character apt key to avoid potential collisions
  • Add rabbitmq_policy type, including support for rabbitmq <3.2.0
  • Add rabbitmq::ensure_repo parameter
  • Add ability to change rabbitmq_user password
  • Allow disk as a valid cluster node type

Bugfixes

  • Avoid attempting to install rabbitmqadmin via a proxy (since it is downloaded from localhost)
  • Optimize check for RHEL GPG key
  • Configure ssl_listener in stomp only if using ssl
  • Use rpm as default package provider for RedHat, bringing the module in line with the documented instructions to manage erlang separately and allowing the default version and source parameters to become meaningful
  • Configure cacertfile only if verify_none is not set
  • Use -q flag for rabbitmqctl commands to avoid parsing inconsistent debug output
  • Use the -m flag for rabbitmqplugins commands, again to avoid parsing inconsistent debug output
  • Strip backslashes from the rabbitmqctl output to avoid parsing issues
  • Fix limitation where version parameter was ignored
  • Add /etc/rabbitmq/rabbitmqadmin.conf to fix rabbitmqadmin port usage when ssl is on
  • Fix linter errors and warnings
  • Add, update, and fix tests
  • Update docs

2014-08-20 - Version 4.1.0

Summary

This release adds several new features, fixes bugs, and improves tests and documentation.

Features

  • Autorequire the rabbitmq-server service in the rabbitmq_vhost type
  • Add credentials to rabbitmqadmin URL
  • Added $ssl_only parameter to rabbitmq, rabbitmq::params, and rabbitmq::config
  • Added property tags to rabbitmq_user provider

Bugfixes

  • Fix erroneous commas in rabbitmq::config
  • Use correct ensure value for the rabbitmq_stomp rabbitmq_plugin
  • Set HOME env variable to nil when leveraging rabbitmq to remove type error from Python script
  • Fix location for rabbitmq-plugins for RHEL
  • Remove validation for package_source to allow it to be set to false
  • Allow LDAP auth configuration without configuring stomp
  • Added missing $ssl_verify and $ssl_fail_if_no_peer_cert to rabbitmq::config

2014-05-16 - Version 4.0.0

Summary

This release includes many new features and bug fixes. With the exception of erlang management this should be backwards compatible with 3.1.0.

Backwards-incompatible Changes

  • erlang_manage was removed. You will need to manage erlang separately. See the README for more information on how to configure this.

Features

  • Improved SSL support
  • Add LDAP support
  • Add ability to manage RabbitMQ repositories
  • Add ability to manage Erlang kernel configuration options
  • Improved handling of user tags
  • Use nanliu-staging module instead of hardcoded 'curl'
  • Switch to yum or zypper provider instead of rpm
  • Add ability to manage STOMP plugin installation.
  • Allow empty permission fields
  • Convert existing system tests to beaker acceptance tests.

Bugfixes

  • exchanges no longer recreated on each puppet run if non-default vhost is used
  • Allow port to be UNSET
  • Re-added rabbitmq::server class
  • Deprecated previously unused manage_service variable in favor of service_manage
  • Use correct key for rabbitmq apt::source
  • config_mirrored_queues variable removed
    • It previously did nothing, will now at least throw a warning if you try to use it
  • Remove unnecessary dependency on Class['rabbitmq::repo::rhel'] in rabbitmq::install

2013-09-14 - Version 3.1.0

Summary

This release focuses on a few small (but critical) bugfixes as well as extends the amount of custom RabbitMQ configuration you can do with the module.

Features

  • You can now change RabbitMQ 'Config Variables' via the parameter config_variables.
  • You can now change RabbitMQ 'Environment Variables' via the parameter environment_variables.
  • ArchLinux support added.

Fixes

  • Make use of the user/password parameters in rabbitmq_exchange{}
  • Correct the read/write parameter order on set_permissions/list_permissions as they were reversed.
  • Make the module pull down 3.1.5 by default.

2013-07-18 3.0.0

Summary

This release heavily refactors the RabbitMQ and changes functionality in several key ways. Please pay attention to the new README.md file for details of how to interact with the class now. Puppet 3 and RHEL are now fully supported. The default version of RabbitMQ has changed to a 3.x release.

Bugfixes

  • Improve travis testing options.
  • Stop reimporting the GPG key on every run on RHEL and Debian.
  • Fix documentation to make it clear you don't have to set provider => each time.
  • Reference the standard rabbitmq port in the documentation instead of a custom port.
  • Fixes to the README formatting.

Features

  • Refactor the module to fix RHEL support. All interaction with the module is now done through the main rabbitmq class.
  • Add support for mirrored queues (Only on Debian family distributions currently)
  • Add rabbitmq_exchange provider (using rabbitmqadmin)
  • Add new rabbitmq class parameters:
    • manage_service: Boolean to choose if Puppet should manage the service. (For pacemaker/HA setups)
  • Add SuSE support.

Incompatible Changes

  • Rabbitmq::server has been removed and is now rabbitmq::config. You should not use this class directly, only via the main rabbitmq class.

2013-04-11 2.1.0

  • remove puppetversion from rabbitmq.config template
  • add cluster support
  • escape resource names in regexp

2012-07-31 Jeff McCune jeff@puppetlabs.com 2.0.2

  • Re-release 2.0.1 with $EDITOR droppings cleaned up

2012-05-03 2.0.0

  • added support for new-style admin users
  • added support for rabbitmq 2.7.1

2011-06-14 Dan Bode dan@Puppetlabs.com 2.0.0rc1

  • Massive refactor:
  • added native types for user/vhost/user_permissions
  • added apt support for vendor packages
  • added smoke tests

2011-04-08 Jeff McCune jeff@puppetlabs.com 1.0.4

  • Update module for RabbitMQ 2.4.1 and rabbitmq-plugin-stomp package.

2011-03-24 1.0.3

  • Initial release to the forge. Reviewed by Cody. Whitespace is good.

2011-03-22 1.0.2

  • Whitespace only fix again... ack '\t' is my friend...

2011-03-22 1.0.1

  • Whitespace only fix.

2011-03-22 1.0.0

  • Initial Release. Manage the package, file and service.