Change in ovirt-engine[master]: packaging: setup: revert nfs config on cleanup

sbonazzo at redhat.com sbonazzo at redhat.com
Mon Oct 14 14:27:08 UTC 2013


Sandro Bonazzola has submitted this change and it was merged.

Change subject: packaging: setup: revert nfs config on cleanup
......................................................................


packaging: setup: revert nfs config on cleanup

Revert /etc/sysconfig/nfs to its original contents on cleanup.

Added a function editConfigContent in util to generalize edit loops
that read conf files and do some changes to them. Used it to edit
/etc/sysconfig/nfs as well as /etc/httpd/conf.d/ssl.conf and
/var/lib/pgsql/data/postgresql.conf.

Bug-Url: https://bugzilla.redhat.com/1013347
Change-Id: I74dd4c1556bd6479fcf10f85fcbe083f215e0854
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
Signed-off-by: Yedidyah Bar David <didi at redhat.com>
---
M packaging/setup/ovirt_engine_setup/util.py
M packaging/setup/plugins/ovirt-engine-setup/apache/ssl.py
M packaging/setup/plugins/ovirt-engine-setup/provisioning/postgres.py
M packaging/setup/plugins/ovirt-engine-setup/system/nfs.py
4 files changed, 203 insertions(+), 79 deletions(-)

Approvals:
  Sandro Bonazzola: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/19001
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I74dd4c1556bd6479fcf10f85fcbe083f215e0854
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Ohad Basan <obasan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list