Update vhost.pp

Getting duplicate declaration errors for logroots managed from puppet and *not* apache even though it tries to create it if not defined.
(FM-1907) Fix mod_negotation system tests

Previously we were including the base apache class and then including the
'apache::mod::negotiation' class. However the apache class includes
'apache::mod::negoatiation' by default. Telling apache not to use its
default mods fixes this error.

There was also a reference to '$mod_dir' when finding the negotiation.conf
instead of just 'mod_dir'.

s/puppet code/ruby code/g fixed the issue. :)
(FM-1908) fixup mod_php tests

Previously we were testing that the source attribute for
apache::mod::php overrode the content and template attributes. This
began failing with the removal of files/spec file (it was the target
used by the source attribute in testing. These are the kinds of tests
that are slated for removal with the test refactor, best course is to
remove them now.
(FM-1911) Fixup passenger system test

Previously we were running a command via sudo, which requires a TTY. The
testing framework does not allocate a TTY by default, passing the
`:pty => true` option corrects this.
(FM-1913) fix passenger tests on EL derivatives

Previously we were excluding by "operatingsystem" == "RedHat" which
doesn't account for RedHat derivatives like Centos. This changes the
tests to check against "osfamily" instead.
Merge pull request #861 from justinstoller/bug/master/FM-1913-passenger-fails-on-el-7

(FM-1913) fix passenger tests on EL derivatives
Merge pull request #860 from justinstoller/bug/master/FM-1911-passenger-needs-pty

(FM-1911) Fixup passenger system test
Merge pull request #859 from justinstoller/bug/master/1908-fixup-mod_php

(FM-1908) fixup mod_php tests
Merge pull request #858 from justinstoller/bug/master/1907-fixup-mod_negotiation

(FM-1907) Fix mod_negotation system tests
Update default_mods.pp

This should cover the case that on a Amazon AWS Image that is based on RHEL6/CentOS6 but the Apache in version 2.4 should be used, to avoid to load the non existing systemd Apache module.
Merge pull request #857 from kritznl/master

Add missing new line character after Pagespeed filter and memcached directives
(#MODULES-1332) set osfamily default for wsgi_socket_prefix

Add an osfamily based default class parameter value for the
wsgi_socket_prefix parameter of apache::mod::wsgi.  The default
value on RedHat osfamily platforms is '/var/run/wsgi'.  On other
platforms, use the Apache default.
MODULES-1348 - apache::vhost concat ordering

Need to set `order => 'numeric'` for the concat resource in
apache::vhost so that the fragments get concatenated in the correct
order.
Revert "Remove deprecated purge_vdir; Rename variables"
Merge pull request #852 from richm/bug/modules-1332

(#MODULES-1332) set osfamily default for wsgi_socket_prefix
Merge pull request #844 from vpassapera/patch-1

Fix duplicate declarations when puppet manages logroot for vhosts
Revert "Fix duplicate declarations when puppet manages logroot for vhosts"
Merge pull request #869 from puppetlabs/revert-844-patch-1

Revert "Fix duplicate declarations when puppet manages logroot for vhost...
Merge pull request #868 from puppetlabs/revert-789-init-var-cleanup

Revert "Remove deprecated purge_vdir; Rename variables"
Merge pull request #867 from mhaskel/MODULES-1348

MODULES-1348 - apache::vhost concat ordering