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

Diff of /puppet/modules/apache/manifests/init.pp

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

revision 619 by misc, Wed Dec 15 01:39:36 2010 UTC revision 621 by misc, Wed Dec 15 03:11:52 2010 UTC
# Line 116  class apache { Line 116  class apache {
116          }          }
117      }      }
118    
119      define vhost_django_app($module = false, $module_path = false) {      define vhost_django_app($module = false, $module_path = false, $use_ssl = false) {
120          include apache::mod_wsgi          include apache::mod_wsgi
121    
122            if $use_ssl {
123                include apache::mod_ssl
124                openssl::self_signed_cert{ "$name":
125                    directory => "/etc/ssl/apache/",
126                    before => File["$name.conf"],
127                }
128            }
129    
130          # module is a ruby reserved keyword, cannot be used in templates          # module is a ruby reserved keyword, cannot be used in templates
131          $django_module = $module          $django_module = $module
132          file { "$name.conf":          file { "$name.conf":

Legend:
Removed from v.619  
changed lines
  Added in v.621

  ViewVC Help
Powered by ViewVC 1.1.30