Skip to content

Commit

Permalink
Add docs and update default_mods to use the new classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Haskel committed Feb 26, 2015
1 parent c6568bc commit f134c39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,10 @@ There are many `apache::mod::[name]` classes within this module that can be decl
* `auth_basic`
* `auth_cas`* (see [`apache::mod::auth_cas`](#class-apachemodauthcas) below)
* `auth_kerb`
* `authn_file`
* `authnz_ldap`*
* `authz_default`
* `authz_user`
* `autoindex`
* `cache`
* `cgi`
Expand Down
7 changes: 4 additions & 3 deletions manifests/default_mods.pp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
}
}
include ::apache::mod::alias
include ::apache::mod::authn_file
include ::apache::mod::autoindex
include ::apache::mod::dav
include ::apache::mod::dav_fs
Expand All @@ -127,7 +128,6 @@
include ::apache::mod::negotiation
include ::apache::mod::setenvif
::apache::mod { 'auth_basic': }
::apache::mod { 'authn_file': }

if versioncmp($apache_version, '2.4') >= 0 {
# filter is needed by mod_deflate
Expand All @@ -141,11 +141,12 @@
# lots of stuff seems to break without access_compat
::apache::mod { 'access_compat': }
} else {
::apache::mod { 'authz_default': }
include ::apache::mod::authz_default
}

include ::apache::mod::authz_user

::apache::mod { 'authz_groupfile': }
::apache::mod { 'authz_user': }
::apache::mod { 'env': }
} elsif $mods {
::apache::default_mods::load { $mods: }
Expand Down

0 comments on commit f134c39

Please sign in to comment.