/[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 742 by misc, Sun Jan 9 11:15:08 2011 UTC revision 778 by misc, Thu Jan 13 18:12:29 2011 UTC
# Line 80  class apache { Line 80  class apache {
80              mode => 644,              mode => 644,
81          }          }
82      }      }
83        
84        class mod_proxy inherits base {
85            package { "apache-mod_proxy":
86                ensure => installed
87            }
88        }
89    
90      define vhost_redirect_ssl() {      define vhost_redirect_ssl() {
91          file { "redirect_ssl_$name.conf":          file { "redirect_ssl_$name.conf":
# Line 177  class apache { Line 183  class apache {
183          }          }
184      }      }
185    
186        define vhost_reverse_proxy($url) {
187            include apache::mod_proxy
188            file { "$name.conf":
189                path => "/etc/httpd/conf/vhosts.d/$name.conf",
190                ensure => "present",
191                owner => root,
192                group => root,
193                mode => 644,
194                notify => Service['apache'],
195                content => template("apache/vhost_reverse_proxy.conf")
196            }
197        }
198    
199     define webapp_other($webapp_file) {     define webapp_other($webapp_file) {
200          include apache::base          include apache::base
201          $webappname = $name          $webappname = $name

Legend:
Removed from v.742  
changed lines
  Added in v.778

  ViewVC Help
Powered by ViewVC 1.1.30