Created
October 28, 2010 09:42
-
-
Save spheromak/651025 to your computer and use it in GitHub Desktop.
cluster.conf.erb
This file contains hidden or 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
# | |
# Managed by chef ocfs2 recipe | |
# Local edits will be squashed | |
# | |
<% count = 0 %> | |
<% @members.sort.each do |host, ip| %> | |
node: | |
ip_port = 7777 | |
ip_address = <%= ip %> | |
number = <%= count %> | |
name = <%= host %> | |
cluster = <%= @cluster %> | |
<% count += 1 -%> | |
<% end %> | |
cluster: | |
node_count = <%= @members.size %> | |
name = <%= @cluster %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment