-
-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #775
- Loading branch information
Showing
6 changed files
with
135 additions
and
37 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(',')%>]. |