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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3432 by misc, Mon Apr 2 11:05:37 2012 UTC revision 3433 by pterjan, Fri Apr 4 11:46:45 2014 UTC
# Line 2  define apache::vhost::catalyst_app( $scr Line 2  define apache::vhost::catalyst_app( $scr
2                                      $location = '',                                      $location = '',
3                                      $process = 4,                                      $process = 4,
4                                      $use_ssl = false,                                      $use_ssl = false,
5                                        $aliases = {},
6                                      $vhost = false) {                                      $vhost = false) {
7      include apache::mod::fastcgi      include apache::mod::fastcgi
8        if $location {
9          $aliases = merge($aliases, {'/static'] => "$location/root/static"})
10        }
11    
12        $aliases = merge($aliases, {'/' => $script})
13    
14      apache::vhost::base { $name:      apache::vhost::base { $name:
15          vhost   => $vhost,          vhost   => $vhost,
16          use_ssl => $use_ssl,          use_ssl => $use_ssl,
17          content => template('apache/vhost_catalyst_app.conf'),          content => template('apache/vhost_catalyst_app.conf'),
18            aliases => $aliases,
19      }      }
20  }  }
21    

Legend:
Removed from v.3432  
changed lines
  Added in v.3433

  ViewVC Help
Powered by ViewVC 1.1.30