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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3184 - (hide annotations) (download)
Thu May 23 15:07:42 2013 UTC (10 years, 10 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 boklm 2916 # $httpdlogs_rotate:
2     # number of time the log file are rotated before being removed
3 boklm 3184 # $default_vhost_redirect:
4     # URL to redirect to in case of unknown vhost
5 boklm 2916 class apache::var(
6     $httpdlogs_rotate = '24',
7     $apache_user = 'apache',
8 boklm 3184 $apache_group = 'apache',
9     $default_vhost_redirect = ''
10 boklm 2917 ) {
11 boklm 2939 if ($::lsbdistrelease == '1') or ($::lsbdistid == 'MandrivaLinux') {
12 boklm 2917 $pkg_conf = 'apache-conf'
13     } else {
14     $pkg_conf = 'apache'
15     }
16     }

  ViewVC Help
Powered by ViewVC 1.1.30