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

Deleting sysctl.conf entries; multiple entries #26

Open
esalberg opened this issue Jan 23, 2015 · 0 comments
Open

Deleting sysctl.conf entries; multiple entries #26

esalberg opened this issue Jan 23, 2015 · 0 comments

Comments

@esalberg
Copy link

  1. Looking through the code, there is an ensure => absent option and there is a destroy function, but I can't seem to get them to work to remove entries in sysctl.conf. Is that functionality supported, or does it need to be written?

  2. If there are multiple entries for a sysctl setting, the module appears to update the first one only, which I believe is not the one that is actually read (iirc, later entries take precedence). Should there be an option either to combine duplicate entries and/or update the last entry (or I guess both entries)?

e.g.
kernel.shmmax 10000
kernel.shmmax 12000

I'm willing to work on a pull request if necessary, but I'd like to get input on direction before heading off into code land.

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

No branches or pull requests

1 participant