rackerlabs/ohai-plugins — pull request #44 by gusmaskowitz (2014-02-12 12:38:03+00:00)
Title: Reworking apache2 maxclients grep

hoping 3rds a charm! :)
Changed from grep -A8 to awk for finding the MAxClients value.
Specific attention was given to make sure we handle comments and whitespaces before it properly.
Also changed the way we were looking for "fModule mpm_prefork_module" (ubuntu) because Centos/RHEL uses "IfModule prefork.c"