/[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 932 by misc, Tue Feb 1 12:44:56 2011 UTC revision 933 by misc, Tue Feb 1 12:44:59 2011 UTC
# Line 175  class apache { Line 175  class apache {
175    
176      define vhost_wsgi($wsgi_path, $aliases = {}) {      define vhost_wsgi($wsgi_path, $aliases = {}) {
177          include apache::mod_wsgi          include apache::mod_wsgi
178          file { "$name.conf":          vhost_base { $name:
179              path => "/etc/httpd/conf/vhosts.d/$name.conf",              aliases => $aliases,
             ensure => "present",  
             owner => root,  
             group => root,  
             mode => 644,  
             notify => Service['apache'],  
180              content => template("apache/vhost_wsgi.conf")              content => template("apache/vhost_wsgi.conf")
181          }          }
182      }      }

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

  ViewVC Help
Powered by ViewVC 1.1.30