Skip to content

Commit

Permalink
(MODULES-1186) Allow disk as a valid cluster node type
Browse files Browse the repository at this point in the history
  • Loading branch information
Colleen Murphy committed Dec 15, 2014
1 parent be96585 commit 6c67f33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
validate_re($version, '^\d+\.\d+\.\d+(-\d+)*$') # Allow 3 digits and optional -n postfix.
# Validate config parameters.
validate_array($cluster_disk_nodes)
validate_re($cluster_node_type, '^(ram|disc)$')
validate_re($cluster_node_type, '^(ram|disc|disk)$') # Both disc and disk are valid http://www.rabbitmq.com/clustering.html
validate_array($cluster_nodes)
validate_string($config)
validate_absolute_path($config_path)
Expand Down
2 changes: 1 addition & 1 deletion manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# [*config_mirrored_queues*] - DEPRECATED (doesn't do anything)
# [*cluster_disk_nodes*] - DEPRECATED (use cluster_nodes instead)
# [*cluster_nodes*] - which nodes to cluster with (including the current one)
# [*cluster_node_type*] - Type of cluster node (disc or ram)
# [*cluster_node_type*] - Type of cluster node (disc/disk or ram)
# [*erlang_cookie*] - erlang cookie, must be the same for all nodes in a cluster
# [*wipe_db_on_cookie_change*] - whether to wipe the RabbitMQ data if the specified
# erlang_cookie differs from the current one. This is a sad parameter: actually,
Expand Down

0 comments on commit 6c67f33

Please sign in to comment.