aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests/init.pp
blob: 8818f97353e0c175d4512a3d6a5a08b11e448870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
class apache {

    class base {
        package { "apache-mpm-prefork":
            ensure => installed
        }
    
        service { httpd: 
            alias => apache,
            ensure => running,
            subscribe => [ Package['apache-mpm-prefork'] ],
        }
    }
    
    class mod_php inherits base {
        package { "apache-mod_php":
            ensure => installed
        }
    }

    class mod_perl inherits base {
        package { "apache-mod_perl":
            ensure => installed
        }
    }

    class mod_fcgid inherits base {
        package { "apache-mod_fcgid":
            ensure => installed
        }
    }


    class mod_wsgi inherits base {
        package { "apache-mod_wsgi":
            ensure => installed
        }
    }
}