Skip to content
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

modules.postgres: pass waldir to init #57770

Merged
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions salt/modules/postgres.py
Expand Up @@ -3593,6 +3593,7 @@ def datadir_init(
password=password,
encoding=encoding,
locale=locale,
waldir=waldir,
checksums=checksums,
runas=runas,
)
Expand Down
1 change: 1 addition & 0 deletions tests/unit/modules/test_postgres.py
Expand Up @@ -2053,6 +2053,7 @@ def test_datadir_init(self):
password="test",
runas="postgres",
checksums=False,
waldir=None,
user="postgres",
)
self.assertTrue(ret)
Expand Down