}
if(pathInVagrantFolder == null) {
throw new VagrantBuilderException("pathInVagrantFolder need to be specified");
}
if (localFolder != null) {
return new VagrantFolderTemplateConfiguration(localFolder,
pathInVagrantFolder);
} else {
return new VagrantFolderTemplateConfiguration(uriTemplate,
pathInVagrantFolder);
}
}