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

  ViewVC Help
Powered by ViewVC 1.1.30