Puppet Class: apache::params

Defined in:
manifests/params.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/params.pp', line 1

class apache::params {
  case $::osfamily {
    Debian: {
      $user      = 'www-data'
      $group     = 'www-data'
      $configdir = '/etc/apache2/conf.d'
      $conffile  = '/etc/apache2/apache2.conf'
    }
    default: {
      $user      = 'apache'
      $group     = 'apache'
      $configdir = '/etc/httpd/conf.d'
      $conffile  = '/etc/httpd/conf/httpd.conf'
    }
  }

  $home      = '/var/www'

}