/[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 2707 - (show annotations) (download)
Mon Apr 2 11:05:37 2012 UTC (12 years ago) by misc
File size: 504 byte(s)
split vhost_catalyst_app in a separate file
1 class apache {
2 define vhost_simple($location) {
3 include apache::base
4 apache::vhost::base { $name:
5 location => $location,
6 }
7 }
8
9 define vhost_redirect($url,
10 $vhost = false,
11 $use_ssl = false) {
12 include apache::base
13 apache::vhost::base { $name:
14 use_ssl => $use_ssl,
15 vhost => $vhost,
16 content => template("apache/vhost_redirect.conf"),
17 }
18 }
19
20 }

  ViewVC Help
Powered by ViewVC 1.1.30