summaryrefslogtreecommitdiff
path: root/puppet/modules/apache/manifests/module/alias.pp
blob: 33d26efe34eee88c5f378d9a84f89ae6b75c6241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# install mod_alias
class apache::module::alias ( $ensure = present )
{

  apache::module { 'alias': ensure => $ensure }

  # from 2.4, /etc/apache2/mods-enabled/alias.conf contains the "Require"
  # directive which needs "authz_core" mod enabled

  if ( guess_apache_version() == '2.4') {
    class { 'authz_core': ensure => $ensure }
  }

}