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

Contents of /puppet/modules/apache/manifests/vhost/django_app.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2694 - (show annotations) (download)
Sun Mar 25 13:22:05 2012 UTC (9 years, 4 months ago) by misc
File size: 700 byte(s)
split 2 more vhost class
1 define apache::vhost::django_app ($module = false,
2 $module_path = false,
3 $use_ssl = false,
4 $aliases= {}) {
5 include apache::mod::wsgi
6 apache::vhost::base { $name:
7 use_ssl => $use_ssl,
8 content => template('apache/vhost_django_app.conf'),
9 aliases => $aliases,
10 }
11
12 # module is a ruby reserved keyword, cannot be used in templates
13 $django_module = $module
14 file { "$name.wsgi":
15 path => "/usr/local/lib/wsgi/$name.wsgi",
16 mode => '0755',
17 notify => Service['apache'],
18 content => template('apache/django.wsgi'),
19 }
20 }
21
22

  ViewVC Help
Powered by ViewVC 1.1.28