/[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 931 by misc, Tue Feb 1 12:44:55 2011 UTC revision 932 by misc, Tue Feb 1 12:44:56 2011 UTC
# Line 106  class apache { Line 106  class apache {
106                        $location = '/dev/null',                        $location = '/dev/null',
107                        $use_ssl = false,                        $use_ssl = false,
108                        $vhost = false,                        $vhost = false,
109                          $aliases = {},
110                        $enable_public_html = false) {                        $enable_public_html = false) {
111          if ! $vhost {          if ! $vhost {
112              $real_vhost = $name              $real_vhost = $name
# Line 172  class apache { Line 173  class apache {
173          }          }
174      }      }
175    
176      define vhost_wsgi($wsgi_path, $aliases = false) {      define vhost_wsgi($wsgi_path, $aliases = {}) {
177          include apache::mod_wsgi          include apache::mod_wsgi
178          file { "$name.conf":          file { "$name.conf":
179              path => "/etc/httpd/conf/vhosts.d/$name.conf",              path => "/etc/httpd/conf/vhosts.d/$name.conf",

Legend:
Removed from v.931  
changed lines
  Added in v.932

  ViewVC Help
Powered by ViewVC 1.1.30