Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 385 Bytes
<%
response.setHeader( "Content-Type" , "text/plain" );
var all = db.pools.find().toArray();
print( "clusters = " );
var names = all.map(
function(z){
print( z.name + " " );
}
);
print( "\n" );
all.forEach(
function(z){
print( z.name + " = " );
z.machines.forEach(
function(m){
print( "yellow@" + m + ".10gen.com " );
}
);
print( "\n" );
}
);
%>