add validsubdomains field to pillar
This commit is contained in:
parent
3917038c0e
commit
20e34eba0f
@ -136,6 +136,7 @@ public class JsonPillarServlet extends HttpServlet {
|
|||||||
}
|
}
|
||||||
final UnixUser domUser = dom.getUser();
|
final UnixUser domUser = dom.getUser();
|
||||||
final Pac domPac = domUser.getPac();
|
final Pac domPac = domUser.getPac();
|
||||||
|
final String validSubdomainNames = dom.getValidsubdomainnames();
|
||||||
final INetAddress domINetAddr = domPac.getCurINetAddr();
|
final INetAddress domINetAddr = domPac.getCurINetAddr();
|
||||||
writer.println(" \"domain\": \"" + domName + "\"");
|
writer.println(" \"domain\": \"" + domName + "\"");
|
||||||
writer.println(" , \"pac\": \"" + domPac.getName() + "\"");
|
writer.println(" , \"pac\": \"" + domPac.getName() + "\"");
|
||||||
@ -162,6 +163,7 @@ public class JsonPillarServlet extends HttpServlet {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
writer.println(" }");
|
writer.println(" }");
|
||||||
|
writer.println(" , \"validsubdomains\": \"" + validSubdomainNames + "\"");
|
||||||
writer.println(" }");
|
writer.println(" }");
|
||||||
}
|
}
|
||||||
writer.println(" ]");
|
writer.println(" ]");
|
||||||
|
Loading…
Reference in New Issue
Block a user