Thomas Vachuska
Committed by Gerrit Code Review

Fixed cell definition retrieval.

Change-Id: Id51d62b3e2b9fbf5a16345e30a604317d003fa26
...@@ -199,8 +199,16 @@ class Warden { ...@@ -199,8 +199,16 @@ class Warden {
199 } 199 }
200 } 200 }
201 201
202 + /**
203 + * Returns the cell definition of the specified cell.
204 + *
205 + * @param cellName cell name
206 + * @return cell definition
207 + */
202 private String getCellDefinition(String cellName) { 208 private String getCellDefinition(String cellName) {
203 - return exec("bin/cell-def " + cellName); 209 + CellInfo cellInfo = getCellInfo(cellName);
210 + return exec(String.format("ssh %s warden/bin/cell-def %s",
211 + cellInfo.hostName, cellInfo.cellName));
204 } 212 }
205 213
206 /** 214 /**
......