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

Annotation of /puppet/modules/apache/manifests/vhost/catalyst_app.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3435 - (hide annotations) (download)
Fri Apr 4 13:48:09 2014 UTC (10 years, 5 months ago) by pterjan
File size: 639 byte(s)
Don't use merge, it's not a standard function
1 misc 2707 define apache::vhost::catalyst_app( $script,
2     $location = '',
3     $process = 4,
4     $use_ssl = false,
5 pterjan 3433 $aliases = {},
6 misc 2707 $vhost = false) {
7     include apache::mod::fastcgi
8 pterjan 3434 if ($location) {
9 pterjan 3435 $aliases['/static'] = "$location/root/static"
10 pterjan 3433 }
11    
12 pterjan 3435 $aliases['/'] = $script
13 pterjan 3433
14 misc 2707 apache::vhost::base { $name:
15     vhost => $vhost,
16     use_ssl => $use_ssl,
17     content => template('apache/vhost_catalyst_app.conf'),
18 pterjan 3433 aliases => $aliases,
19 misc 2707 }
20     }
21    
22    

  ViewVC Help
Powered by ViewVC 1.1.30