obviate the need to restore config files from backups

Review Request #219 - Created Sept. 19, 2015 and submitted

Information
Nils Philippsen
rolekit
master
782b37d...
Reviewers
rolekit
mitr, nphilipp, sgallagh, twoerner
Use an internal implementation instead of calling sed to tweak
configuration files. This has the neat side effect of overwriting the
target file as the last step, side-stepping the need to copy over the
backup file on errors.

This change requires python3-slip >= 0.6.4 because in previous versions
slip.util.files.overwrite_safely() doesn't preserve file ownership, and
the postgresql configuration files need to be owned by the postgres user.

https://github.com/libre-server/rolekit/issues/21

Deployed databaseserver role, compared contents of postgresql.conf, pg_hba.conf with what the original sed commands produced.

Issues

  • 0
  • 5
  • 1
  • 6
Description From Last Updated
Nils Philippsen
Stephen Gallagher
Nils Philippsen
Stephen Gallagher
Nils Philippsen
Stephen Gallagher
Nils Philippsen
Review request changed

Status: Closed (submitted)

Loading...