-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Allow adjustment of OS-specific defaults #9
Comments
A simple way to do this would be to add an "include_os_defaults" parameter, which is "true" by default. If set to false, the defaults class is not included. How does that sound? |
That would certainly do the job nicely! |
See also this commit, which will let you leave the _real_ OS defaults alone. Anyone is welcome to improve on that patch, update the test suite and submit a PR. IMO, leaving the OS defaults alone should have been the default behaviour, since OS detection code is fragile – a common problem with Puppet modules – which is better just being avoided. |
@amiryal PRs with tests always gratefully received. :) |
(Originally opened against the parent repository, but would be a useful improvement here) -
logrotate::defaults defines the logrotate::rule for things like wtmp and btmp. As the parameters aren't exposed, I can't change the rotation settings for these.
Would it be possible to add options to the logrotate class (in init.pp) to bypass defining these resources, so I can define them elsewhere with the settings I need, while still setting up logrotate.conf appropriately?
The text was updated successfully, but these errors were encountered: