DeploymentType type = deploymentConfiguration.getDeploymentEnvironment().getType();
switch (type) {
case LocalhostDebian:
return new LocalhostDebianDeployment();
case ClusteredSimple:
<BUG>return createClusteredSimpleDeployment(deploymentConfiguration);
</BUG>
default:
throw new IllegalArgumentException("Unrecognized deployment type " + type);
}

DeploymentType type = deploymentConfiguration.getDeploymentEnvironment().getType();
switch (type) {
case LocalhostDebian:
return new LocalhostDebianDeployment();
case ClusteredSimple:
return createClusteredSimpleDeployment(deploymentConfiguration, generateResult);
default:
throw new IllegalArgumentException("Unrecognized deployment type " + type);
