Skip to content

Commit edd56fb

Browse files
committed
Merge pull request #270 from cmurphy/disk-disc
(MODULES-1186) Allow disk as a valid cluster node type
2 parents ed96902 + 6c67f33 commit edd56fb

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
@@ -68,7 +68,7 @@
6868
validate_re($version, '^\d+\.\d+\.\d+(-\d+)*$') # Allow 3 digits and optional -n postfix.
6969
# Validate config parameters.
7070
validate_array($cluster_disk_nodes)
71-
validate_re($cluster_node_type, '^(ram|disc)$')
71+
validate_re($cluster_node_type, '^(ram|disc|disk)$') # Both disc and disk are valid http://www.rabbitmq.com/clustering.html
7272
validate_array($cluster_nodes)
7373
validate_string($config)
7474
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)