About 2 years ago i wrote a hacky ohai plugin to push all sysctl values into node data, and then a crappy recipe that would run an exec if they didn’t match values in node-data. A few months back i re-wrote all this to just use an lwrp that would just set these value, and a recipe that would pull them from attributes. So if you want to be able to see what nodes have huge pages enabled or whatnot.
Today I took some time to clean up the readme and release that code for others to hopefully find useful.
- On github sysctl lwrp cookbook
- On the community site jn_sysctl