clusterSpec.readPrivateKey());
try {
LOG.info("Running configuration script");
Payload script = newStringPayload(statementBuilder.render(OsFamily.UNIX));
LOG.debug("Running script:\n{}", script.getRawContent());
computeService.runScriptOnNodesMatching(
toNodeMetadataPredicate(clusterSpec, cluster, entry.getKey().getRoles()),
script,
RunScriptOptions.Builder.overrideCredentialsWith(credentials));
LOG.info("Configuration script run completed");
} catch (RunScriptOnNodesException e) {