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 option for management of datadir #159

Merged
merged 4 commits into from
Sep 4, 2023
Merged

Conversation

kenyon
Copy link
Member

@kenyon kenyon commented Sep 3, 2023

Rebase of #148.

Also contains #160 and #161.

@kenyon kenyon mentioned this pull request Sep 3, 2023
@kenyon kenyon force-pushed the manage-datadir branch 2 times, most recently from c93ec3c to 617ba6e Compare September 3, 2023 21:57
@kenyon kenyon force-pushed the manage-datadir branch 4 times, most recently from 7918b5e to 80b6bec Compare September 3, 2023 22:36
@kenyon kenyon added the enhancement New feature or request label Sep 3, 2023
Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks globally good, you may want to tweak the doc maybe?

manifests/init.pp Outdated Show resolved Hide resolved
andybotting and others added 2 commits September 3, 2023 21:41
This change adds a new manage_datadir argument to selectively
prevent the management of the data dir.

The scenario I ran into needing this was when using a master/slave
setup. The remote data comes in via Apache with the www-data user
and it requires a setfacl entry as documented at
https://github.com/oetiker/SmokePing/wiki/FAQ#master-slave-setups
or you'll see permission denied errors in the log file.

Ideally this module would be extended to support master/slave better,
but this will help in the meantime.
@kenyon kenyon merged commit 74b47a0 into voxpupuli:master Sep 4, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants