thias/puppet-tuned — pull request #2 by cstackpole (2013-06-08 22:07:59+00:00)
Title: First draft of new error checking functionality.

Greetings,

Here is my latest update. The major changes are:
* Init.pp now has multiple checks for the OS family and version. I ran into multiple issues where the various OS's differed in their facter output. All of those problems have been accounted for.
* Tuned.pp was the old init.pp. Only major change is a fix to prevent Fedora from crashing on ktune.
* Error.pp supports multiple error messages such that adding new ones later on should be fairly easy to do.

I tested on Scientific Linux 6, CentOS 5 and 6, Fedora 18, SLES 11*, and Debian 6*.
*(gracefully notifies user and makes no changes). I don't have an Oracle box I can test on, but I know someone who was able to send me his facter output so that I could add a check in for it. Also, once you push up a new version to puppet forge and I can verify it runs without problems in my alpha-test environment, I can push it out to a slightly larger test farm of more distros ( off the top of my head, I should be able to test against RHEL 5 and 6, SL5, and a few other flavors of Fedora ).

If I can do something else, just let me know.

Thanks!