aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests/init.pp
blob: 4df6ba0a78b876f66320c41e6630611eeb8d1be2 (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 { apache: 
            ensure => running,
            subscribe => [ Package['apache-mpm-prefork'] ],
            path => "/etc/init.d/httpd"
        }
    }
    
    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
        }
    }
}