Skip to content

Commit

Permalink
Merge pull request #55578 from meaksh/master-use-checksums-args-in-po…
Browse files Browse the repository at this point in the history
…stgres.datadir_init

[master] Use "checksums" args when calling "postgres.datadir_init"
  • Loading branch information
dwoz authored Jan 10, 2020
2 parents f25ba4f + f3a8bc9 commit 40e55b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions salt/modules/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -3151,6 +3151,7 @@ def datadir_init(name,
password=password,
encoding=encoding,
locale=locale,
checksums=checksums,
runas=runas)
return ret['retcode'] == 0

Expand Down
1 change: 1 addition & 0 deletions tests/unit/modules/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,7 @@ def test_datadir_init(self):
locale=None,
password='test',
runas='postgres',
checksums=False,
user='postgres',
)
self.assertTrue(ret)
Expand Down

0 comments on commit 40e55b5

Please sign in to comment.