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

Add recursive database owner change to postgres module/state #22367

Merged
merged 3 commits into from
Apr 6, 2015

Conversation

lucacorti
Copy link
Contributor

Add recursive owner change to postgres.db_alter and expose it via
postgres_database.present parameter.

owner_recurse defaults to false to avoid breaking compatibility, but
could arguably be a sane default.

Add recursive owner change to postgres.db_alter and expose it via
postgres_database.present parameter.

`owner_recurse` defaults to false to avoid breaking compatibility, but
could arguably be a sane default.
@jfindlay
Copy link
Contributor

jfindlay commented Apr 5, 2015

@lucacorti, thanks for the pull request. There is also a test that needs to be updated.

The old db_alter test was probably failing anyway. The new test tests
owner_to is called when owner_recurse is set to true.
jfindlay added a commit that referenced this pull request Apr 6, 2015
Add recursive database owner change to postgres module/state
@jfindlay jfindlay merged commit 33ae6b6 into saltstack:develop Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants