Parent Directory | Revision Log | Patch
revision 497 by misc, Thu Dec 2 01:30:22 2010 UTC | revision 612 by misc, Wed Dec 15 01:39:27 2010 UTC | |
---|---|---|
# | Line 119 class apache { | Line 119 class apache { |
119 | define vhost_django_app($module, $module_path = '/usr/share') { | define vhost_django_app($module, $module_path = '/usr/share') { |
120 | include apache::mod_wsgi | include apache::mod_wsgi |
121 | ||
122 | # module is a ruby reserved keyword, cannot be used in templates | |
123 | $django_module = $module | |
124 | file { "$name.conf": | file { "$name.conf": |
125 | path => "/etc/httpd/conf/vhosts.d/$name.conf", | path => "/etc/httpd/conf/vhosts.d/$name.conf", |
126 | ensure => "present", | ensure => "present", |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |