Skip to content

Support setting datadir_mode - #1690

Open
deric wants to merge 1 commit into
puppetlabs:mainfrom
deric:chmod
Open

Support setting datadir_mode#1690
deric wants to merge 1 commit into
puppetlabs:mainfrom
deric:chmod

Conversation

@deric

@deric deric commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

With current implementation it's not possible to override permissions for main database directory. Even with manage_datadir = false, it would be overwritten to hard-coded 0700

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@jst-cyr

jst-cyr commented Aug 7, 2026

Copy link
Copy Markdown
Member

This requires #1691 to fix tests so that CI can run.

With current implementation it's not possible to override mode for main
database directory. Even with manage_datadir = false, it would be
overwritten to hard-coded 0700
@jst-cyr

jst-cyr commented Aug 20, 2026

Copy link
Copy Markdown
Member

Running CI tests for this PR here: #1696

@jst-cyr

jst-cyr commented Aug 20, 2026

Copy link
Copy Markdown
Member

Acceptance test results: https://github.com/puppetlabs/puppetlabs-postgresql/actions/runs/32396452652

Mostly green. All failing platforms in this run (CentOS-7, OracleLinux-7, Scientific-7, Debian-13, SLES 12) match pre-existing failures on the nightly main build. Same failing step and error signature on each. These are not caused by this PR.

Next step is for engineering review when the team is available.

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