Skip to content

Commit 6c67f33

Browse files
author
Colleen Murphy
committed
(MODULES-1186) Allow disk as a valid cluster node type
http://www.rabbitmq.com/clustering.html
1 parent be96585 commit 6c67f33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
validate_re($version, '^\d+\.\d+\.\d+(-\d+)*$') # Allow 3 digits and optional -n postfix.
6868
# Validate config parameters.
6969
validate_array($cluster_disk_nodes)
70-
validate_re($cluster_node_type, '^(ram|disc)$')
70+
validate_re($cluster_node_type, '^(ram|disc|disk)$') # Both disc and disk are valid http://www.rabbitmq.com/clustering.html
7171
validate_array($cluster_nodes)
7272
validate_string($config)
7373
validate_absolute_path($config_path)

manifests/server.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# [*config_mirrored_queues*] - DEPRECATED (doesn't do anything)
1818
# [*cluster_disk_nodes*] - DEPRECATED (use cluster_nodes instead)
1919
# [*cluster_nodes*] - which nodes to cluster with (including the current one)
20-
# [*cluster_node_type*] - Type of cluster node (disc or ram)
20+
# [*cluster_node_type*] - Type of cluster node (disc/disk or ram)
2121
# [*erlang_cookie*] - erlang cookie, must be the same for all nodes in a cluster
2222
# [*wipe_db_on_cookie_change*] - whether to wipe the RabbitMQ data if the specified
2323
# erlang_cookie differs from the current one. This is a sad parameter: actually,

0 commit comments

Comments
 (0)