@smitherz82 I didn't see that installing the pakages was dependent on knowing the version.  The fact isn't the right solution, which is why I proposed the alternative to set sensible defaults.

Hard coding the Apache version to 2.2 in your PR doesn't really make sense to me.  The suggestion was to just set apache_version to sensible defaults based on the OS.  E.g. 2.4 for Ubuntu 13.10, and Fedora 18+.