157 |
} |
} |
158 |
} |
} |
159 |
|
|
160 |
|
define vhost_wsgi($wsgi_path) { |
161 |
|
include apache::mod_wsgi |
162 |
|
file { "$name.conf": |
163 |
|
path => "/etc/httpd/conf/vhosts.d/$name.conf", |
164 |
|
ensure => "present", |
165 |
|
owner => root, |
166 |
|
group => root, |
167 |
|
mode => 644, |
168 |
|
notify => Service['apache'], |
169 |
|
content => template("apache/vhost_wsgi.conf") |
170 |
|
} |
171 |
|
} |
172 |
|
|
173 |
define vhost_other_app($vhost_file) { |
define vhost_other_app($vhost_file) { |
174 |
include apache::base |
include apache::base |
175 |
file { "$name.conf": |
file { "$name.conf": |