forked from voxpupuli/puppet-rabbitmq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for enabled plugins config using enabled_plugins file (vo…
…xpupuli#777) * Support enabling rabbitmq_management without rabbitmqadmin Enabling the rabbitmq_managemnt interface and installing the rabbitmqadmin client was both controlled by the admin_enable parameter. Adds option enable_management (default: false). When this is set to true, and admin_enable is false the rabbitmq_management plugin is enabled, but the rabbitmqadmin client is not installed. For backward compatiblity the rabbitmq_management plugin is also enabled when admin_enable is set to true. Related voxpupuli#775 * Support configuring plugins using enabled_plugins file Adds optional support to configure rabbitmq plugins by writing configuration file (/etc/rabbitmq/enabled_plugins). New parameter $use_config_file_for_plugins (boolean, default: false) Can be used to enable this feature. When enabled it replaces the use of the rabbitmqplugins provider to enable plugins. Fixes voxpupuli#775
- Loading branch information
Showing
7 changed files
with
187 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
% This file managed by Puppet | ||
% Template Path: <%= @module_name %>/templates/enabled_plugins | ||
<%- @_plugins = [] -%> | ||
<%- if @admin_enable or @management_enable -%> | ||
<%- @_plugins << 'rabbitmq_management' -%> | ||
<%- end -%> | ||
<%- if @stomp_ensure -%> | ||
<%- @_plugins << 'rabbitmq_stomp' -%> | ||
<%- end -%> | ||
<%- if @ldap_auth -%> | ||
<%- @_plugins << 'rabbitmq_auth_backend_ldap' -%> | ||
<%- end -%> | ||
<%- if @config_shovel -%> | ||
<%- @_plugins << 'rabbitmq_shovel' -%> | ||
<%- if @admin_enable or @management_enable -%> | ||
<%- @_plugins << 'rabbitmq_shovel_management' -%> | ||
<%- end -%> | ||
<%- end -%> | ||
[<%= @_plugins.join(',')%>]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters