-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jinja strip white spaces option in salt master config causes a broken pg_hba.conf #241
Comments
bebosudo
changed the title
jinja stripping in salt master config causes a broken pg_hba.conf
jinja strip white spaces option in salt master config causes a broken pg_hba.conf
Oct 1, 2018
Fixed on #244 |
#244 results in a side effect for those running with the default values of # TYPE DATABASE USER ADDRESS METHOD
+
+
local all all peer
+
host all all 127.0.0.1/32 md5
+
host all all ::1/128 md5
+
local replication all peer
+
host replication all 127.0.0.1/32 md5
+
host replication all ::1/128 md5
Of course, the situation resolved by #244 is critical; but this side effect is an annoyance. Is there any way (similar to CC: @vutny. |
71 tasks
Merged
19 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using this formula, along with the following lines in my salt master configuration:
to strip empty lines in my salt states. This causes the following
pg_hba.conf
file:Which is caused by lines
postgres-formula/postgres/templates/pg_hba.conf.j2
Line 39 in 87f6cd8
Do you think a pull request to remove the line strip in jinja could be feasible?
The text was updated successfully, but these errors were encountered: