/[adm]/puppet/modules/apache/manifests/var.pp
ViewVC logotype

Contents of /puppet/modules/apache/manifests/var.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3184 - (show annotations) (download)
Thu May 23 15:07:42 2013 UTC (11 years, 4 months ago) by boklm
File size: 463 byte(s)
apache: add option to select default redirect URL

Add an option to change the URL to redirect to in case of unknown vhost.
If the option is not provided, a 404 error is returned.
1 # $httpdlogs_rotate:
2 # number of time the log file are rotated before being removed
3 # $default_vhost_redirect:
4 # URL to redirect to in case of unknown vhost
5 class apache::var(
6 $httpdlogs_rotate = '24',
7 $apache_user = 'apache',
8 $apache_group = 'apache',
9 $default_vhost_redirect = ''
10 ) {
11 if ($::lsbdistrelease == '1') or ($::lsbdistid == 'MandrivaLinux') {
12 $pkg_conf = 'apache-conf'
13 } else {
14 $pkg_conf = 'apache'
15 }
16 }

  ViewVC Help
Powered by ViewVC 1.1.30