log.info("Apache configuration was updated");
resourceContext.getParentResourceComponent().finishConfigurationUpdate(report);
} catch (Exception e) {
if (tree != null)
log.error("Augeas failed to save configuration " + tree.summarizeAugeasError(), e);
else
log.error("Augeas failed to save configuration", e);
report.setStatus(ConfigurationUpdateStatus.FAILURE);
report.setErrorMessage("Augeas failed to save the configuration. "
+ ThrowableUtil.getStackAsString(e));