only apply Directory defaults when provider is a directory
Expand vhost/_directories.pp directive support

Added ForceType (from core), and the mod_expires directives.
nested conditinals are usually indented with good reason
pull back some of the conditional defaults
Add Allow and ExtendedStatus support to mod_status

I've extended the apache::mod::status class to accept an `$allow_from`
parameter similar to the existing apache::mod::info class, as well as
added an `$extended_status` parameter to control the ExtendedStatus
directive.

Added module docs and full testing support as well as updated the
README.md to indicate that the status class accepts additional
parameters.
added $server_root parameter

Previously, the $httpd_dir was used as ServerRoot in httpd.conf
template. On some installations httpd_dir is not same as ServerRoot,
for example on FreeBSD apache22 (installed via ports) has ServerRoot set
to /usr/local by default.

This PR adds $server_root parameter to apache::params. Its purpose is to
be substituted in httpd.conf as ServerRoot. This parameter is used
in #342. The purpose of the whole thing is to plit #342 into smaller
parts to make review process easier, see
https://github.com/puppetlabs/puppetlabs-apache/pull/342#issuecomment-25423813
Merge pull request #443 from ptomulik/server_root

added $server_root parameter
Allow apache::mod to specify module id and path

Add $id, $path and $lib_path parameters to apache::mod. These parameters
are used in #342. The purpose of the whole thing is to plit #342 into
smaller parts to make review process easier, see
https://github.com/puppetlabs/puppetlabs-apache/pull/342#issuecomment-25423813

This PR covers all changes introduced by #271 to manifests/mod.pp. I
just don't have test/mod_load_params.pp as in #271.
Add new params to apache::mod::mime class

This changeset adds $mime_support_package and $mime_types_config
parameters to class `apache::mod::mime`. Their purpose is following:

- $mime_support_package - install this package, as it provides mime.conf
  file (definition of mime types used by mod_mime),
- $mime_types_config - used to substitute TypesConfig in
  mod/mime.conf.erb template.

This PR was created in order to plit #342 into smaller
parts to make review process easier, see
https://github.com/puppetlabs/puppetlabs-apache/pull/342#issuecomment-25423813
Merge pull request #445 from ptomulik/explicit_mod_id

Allow apache::mod to specify module id and path
Merge pull request #447 from ptomulik/mod_mime_params

Add new params to apache::mod::mime class
Include mime if ssl is in use.

Without the default_mods we still try to setup an SSL vhost that fails
because AddType is used in the template.  Rather than trying to make
AddType conditional on the inclusion of the class we just require mime
as a standard mod no matter what you say.
Wrap the event test in a check for FreeBSD.

It seems this only works on FreeBSD currently.  In the future
we'll rework testing to test for 2.2 vs 2.4 or something.
Merge pull request #448 from apenney/spec-fixes

Spec fixes
Support for FreeBSD and few other features

Summary of the changes:

Overview:

* added support for FreeBSD
* added MPMs: event, peruser, itk (PR #304 + FreeBSD support)
* added `apache::package` to choose and install apache package,
* allow apache::mod to specify mod identifier and module path (#271)
* revisited specs for apache::dev and apache::mod::dev

Details:

* "${apache::params::conf_dir}/Includes" as $apache::confd_dir for FreeBSD,
* "${apache::params::conf_dir}/Modules" as $apache::mod_dir FreeBSD,
* "${apache::params::conf_dir}/Vhosts" as $apache::vhost_dir FreeBSD,
* added to apache::params:
        $root_group,
        $apache_package,
        $service_name,
        $server_root,
        $mime_support_package,
        $mime_types_config
* httpd.erb now uses $server_root (instead of $httpd_dir) as ServerRoot
* added $mime_support_package parameter to apache::mod::mime class,
* apache::mod::mime installs $mime_support_package package if needed,
* added $magic_file parameter to apache::mod::mime_magic class,
* added 'default_confd_files.pp', and confd template infrastructure to
  allow putting some files under conf.d/ (Includes/ under FreeBSD) by
  default (FreeBSD's apache22 installs Includes/no-accf.conf for
  example but puppet normally would purge it afterward),
* adjusted documentation (README.md),
* apache::dev requires apache::package on FreeBSD
* other (minor or forgotten) changes and additions,
Merge pull request #342 from ptomulik/freebsd_new

Support for FreeBSD and few other features (reworked PR #264).
Merge pull request #438 from TrevorBramble/more-vhost-directives

More vhost directives, only add AllowOverride default for directory container
Merge pull request #446 from dbeckham/mod_status_allow_rebase

Add Allow and ExtendedStatus support to mod_status (rebase of #419)