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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2704 - (show annotations) (download)
Mon Apr 2 11:05:30 2012 UTC (9 years, 3 months ago) by misc
File size: 830 byte(s)
split apache::reverse_proxy in a separate file
1 class apache {
2 define vhost_catalyst_app($script, $location = '', $process = 4, $use_ssl = false, $vhost = false) {
3
4 include apache::mod::fastcgi
5 apache::vhost::base { $name:
6 vhost => $vhost,
7 use_ssl => $use_ssl,
8 content => template("apache/vhost_catalyst_app.conf"),
9 }
10 }
11
12 define vhost_simple($location) {
13 include apache::base
14 apache::vhost::base { $name:
15 location => $location,
16 }
17 }
18
19 define vhost_redirect($url,
20 $vhost = false,
21 $use_ssl = false) {
22 include apache::base
23 apache::vhost::base { $name:
24 use_ssl => $use_ssl,
25 vhost => $vhost,
26 content => template("apache/vhost_redirect.conf"),
27 }
28 }
29
30 }

  ViewVC Help
Powered by ViewVC 1.1.28