[augeas-devel] [Augeas] #317: Postgresql.lns is incomplete
Augeas
trac at fedorahosted.org
Fri Dec 14 10:58:09 UTC 2012
#317: Postgresql.lns is incomplete
--------------------+---------------------
Reporter: mfo | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: devel
Keywords: | Blocked By:
Blocking: |
--------------------+---------------------
The new lens for postgresql.conf has a couple of issues, mainly related to
quoting. Also I think that the user shouldn't have to do the quoting
manually.
So:
{ "data_directory" = "'/var/lib/postgresql/8.4/main'" }
should actually be:
{ "data_directory" = "/var/lib/postgresql/8.4/main" }
Instead of describing everything here, I corrected the tests to reflect
how I believe the lens should work:
https://github.com/mfournier/augeas/blob/improved-postgresql-
tests/lenses/tests/test_postgresql.aug
(the diff:
https://github.com/mfournier/augeas/commit/6e865aacab0a2ddd3f1b01123ae02d9fa080ba1a)
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/317>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list