-
Notifications
You must be signed in to change notification settings - Fork 85
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
Recent changes makes module non-idempotent. #40
Comments
See #38 for some details. I agree that this is annoying, but it's a nice feature to have values enforced by default, and the real problem lies in the fact that sysctl is quite relaxed when it comes to setting them vs. having one single output (regarding tabs vs. spaces).... So in your case, and for anyone else noticing the same, I see two easy solutions :
kernel.sem:
value: '250 32000 100 128' Maybe
kernel.sem:
value: '250 32000 100 128'
enforce: false If you have some rock solid code to contribute in order to have that enforcing work properly with whatever tabs vs. spaces combination, that would also work :-) |
Ok. I see what is being done and why & will adjust accordingly. Is it possible to get this added to the docs so others don't have to delve into the issues to discover this feature? |
I can confirm that using tabs to separate makes it work. |
using tabs ("\t") for "kernel.sem" and "net.ipv4.ip_local_port_range" works for me too, although it's not that pretty |
A recent change to this module makes it non-idempotent for some values.
Example:
This notice happens on every puppet run.
My hiera data looks like:
I am running R10k and am currently working around the issue by pinning my version number to 1.0.2. I'm not sure at what version this actually started to happen since I haven't had time go test this on the versions in between, but I'm sure others are likely to hit this at some point.
Regards -Greg
The text was updated successfully, but these errors were encountered: