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

Diff of /puppet/modules/apache/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2687 by misc, Sun Mar 25 12:26:35 2012 UTC revision 2688 by misc, Sun Mar 25 12:26:37 2012 UTC
# Line 1  Line 1 
1  class apache {  class apache {
     class base {  
   
         # number of time the log file are rotated before being removed  
         $httpdlogs_rotate = "24"  
   
         $apache_user = 'apache'  
         $apache_group = 'apache'  
   
         package { "apache-mpm-prefork":  
             alias => apache,  
         }  
       
         package { "apache-conf": }  
   
         service { httpd:  
             alias => apache,  
             subscribe => [ Package['apache-mpm-prefork'] ],  
         }  
   
         exec { "service httpd configtest":  
             refreshonly => true,  
             notify => Service["apache"],  
         }  
   
         apache::config {  
             "/etc/httpd/conf.d/customization.conf":  
                 content => template("apache/customization.conf");  
             "/etc/httpd/conf/vhosts.d/00_default_vhosts.conf":  
                 content => template("apache/00_default_vhosts.conf");  
         }  
   
         file { "/etc/logrotate.d/httpd":  
             content => template("apache/logrotate")  
         }  
     }  
       
     
2      define vhost_base($content = '',      define vhost_base($content = '',
3                        $location = '/dev/null',                        $location = '/dev/null',
4                        $use_ssl = false,                        $use_ssl = false,

Legend:
Removed from v.2687  
changed lines
  Added in v.2688

  ViewVC Help
Powered by ViewVC 1.1.30