Skip to content

Instantly share code, notes, and snippets.

@bbelchak
Created September 28, 2010 16:15
Show Gist options
  • Save bbelchak/601295 to your computer and use it in GitHub Desktop.
Save bbelchak/601295 to your computer and use it in GitHub Desktop.
{
"webserverPort": <%= @node[:core][:port] %>,
"simpleDbAccessKeyID" : "<%= @node[:core][:simpledb_access_key] %>",
"simpleDbSecretAccessKey" : "<%= @node[:core][:simpledb_secret_key] %>",
"configRoot" : "<%= @node[:core][:root_directory] %>",
"persistRoot" : "<%= @node[:core][:paths][:persist] %>",
"cityDbPath" : "<%= @node[:core][:paths][:geoip_city_db] %>",
"haystackServerHost" : "<%= @node[:core][:haystack_host] %>",
"haystackServerPort" : <%= @node[:core][:haystack_port] %>,
"partners" : [
<% @partners.each do |p| %>
{
"name" : "<%= p["id"] %>",
"id" : <%= p["partner_id"] %>,
"domain" : "<%= p["domain"] %>",
"fqdn" : "<%= p["fqdn"] %>"
}<% end.join(',') %>
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment