Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REALMS #308

Merged
merged 2 commits into from
Sep 24, 2013
Merged

REALMS #308

merged 2 commits into from
Sep 24, 2013

Conversation

joshbronson
Copy link
Contributor

So far, realms are a way of talking about related clusters. They prepend
their name to the name of the clusters within them and also allow some
things (environments, common cloud properties) to be merged into each
cluster.

For example,

Ironfan.realm(:p1) do
  cloud(:ec2).bits 64

  cluster(:control) do
     # etc.
  end
  cluster(:kfk) do
     # etc.
  end
end

the realm here would result in p1_control and p1_kfk clusters with a
default cloud(:ec2).bits attribute merged in.

Soon, realms should be usable to set up discovery.

See https://github.com/infochimps/jbro-homebase/blob/master/clusters/p1.rb for an extended example.

related clusters. They prepend their name to the name of the clusters
within them and also allow some things (environments, common cloud
properties) to be merged into each cluster.

For example,

Ironfan.realm(:p1) do
  cloud(:ec2).bits 64

  cluster(:control) do
     # etc.
  end
  cluster(:kfk) do
     # etc.
  end
end

the realm here would result in p1_control and p1_kfk clusters with a
default cloud(:ec2).bits attribute merged in.
@temujin9 temujin9 merged commit 3c9a763 into master Sep 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants