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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 117 - (hide annotations) (download)
Fri Nov 5 00:12:10 2010 UTC (13 years, 5 months ago) by misc
File size: 1163 byte(s)
- add a alias for apache package ( so we can change the engine )
- add a file to cleanly add the 2 directive for VirtualHost on 80 and 443 
without having to import the whole apache config in svn ( as this would be annoying to merge later ) 

1 misc 80 class apache {
2    
3     class base {
4     package { "apache-mpm-prefork":
5 misc 117 alias => apache,
6 misc 80 ensure => installed
7     }
8    
9 misc 96 service { httpd:
10     alias => apache,
11 misc 80 ensure => running,
12     subscribe => [ Package['apache-mpm-prefork'] ],
13     }
14 misc 117
15     file { "customization.conf":
16     ensure => present,
17     path => "/etc/httpd/conf/customization.conf",
18     content => template("apache/customization.conf"),
19     require => Package["apache"],
20     notify => Service["apache"],
21     owner => root,
22     group => root,
23     mode => 644,
24     }
25 misc 80 }
26    
27     class mod_php inherits base {
28     package { "apache-mod_php":
29     ensure => installed
30     }
31     }
32    
33     class mod_perl inherits base {
34     package { "apache-mod_perl":
35     ensure => installed
36     }
37     }
38    
39 misc 84 class mod_fcgid inherits base {
40     package { "apache-mod_fcgid":
41     ensure => installed
42     }
43     }
44    
45    
46 misc 80 class mod_wsgi inherits base {
47     package { "apache-mod_wsgi":
48     ensure => installed
49     }
50     }
51     }

  ViewVC Help
Powered by ViewVC 1.1.30