This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
Option to immediately persist to file #5
Closed
Description
We're currently facing an issue where we update the value of net.core.somaxconn
and then try to run an application (3rd party) that checks that value is greater than 1024.
Because the values aren't persisted until the end of the chef run, the application sees the old value as it starts up and errors out and causes the entire chef run to fail.
sysctl_param('net.core.somaxconn') do
value 4096
end
Chef::Log.warn `sysctl net.core.somaxconn` #=> default system value
I suggest having the values persisted in two cases;
- When all values set via the params attribute have been updated
- During an LWRP call when a new resource variable is set
immediate true
for example
Metadata
Assignees
Labels
No labels