45 |
} |
} |
46 |
} |
} |
47 |
|
|
|
class mod_perl inherits base { |
|
|
package { "apache-mod_perl": } |
|
|
} |
|
|
|
|
|
class mod_fcgid inherits base { |
|
|
package { "apache-mod_fcgid": } |
|
|
} |
|
|
|
|
|
class mod_fastcgi inherits base { |
|
|
package { "apache-mod_fastcgi": } |
|
|
} |
|
|
|
|
48 |
class mod_wsgi inherits base { |
class mod_wsgi inherits base { |
49 |
package { "apache-mod_wsgi": } |
package { "apache-mod_wsgi": } |
50 |
|
|
57 |
} |
} |
58 |
} |
} |
59 |
|
|
|
class mod_proxy inherits base { |
|
|
package { "apache-mod_proxy": } |
|
|
} |
|
|
|
|
|
class mod_public_html inherits base { |
|
|
package { "apache-mod_public_html": } |
|
|
} |
|
|
|
|
|
class mod_deflate inherits base { |
|
|
package { "apache-mod_deflate": } |
|
|
} |
|
|
|
|
|
class mod_geoip inherits base { |
|
|
package { "apache-mod_geoip": } |
|
|
} |
|
60 |
|
|
61 |
define vhost_base($content = '', |
define vhost_base($content = '', |
62 |
$location = '/dev/null', |
$location = '/dev/null', |
100 |
} |
} |
101 |
|
|
102 |
if $enable_public_html { |
if $enable_public_html { |
103 |
include apache::mod_public_html |
include apache::mod::public_html |
104 |
} |
} |
105 |
|
|
106 |
apache::config { "/etc/httpd/conf/vhosts.d/$filename": |
apache::config { "/etc/httpd/conf/vhosts.d/$filename": |
180 |
define vhost_reverse_proxy($url, |
define vhost_reverse_proxy($url, |
181 |
$vhost = false, |
$vhost = false, |
182 |
$use_ssl = false) { |
$use_ssl = false) { |
183 |
include apache::mod_proxy |
include apache::mod::proxy |
184 |
vhost_base { $name: |
vhost_base { $name: |
185 |
use_ssl => $use_ssl, |
use_ssl => $use_ssl, |
186 |
vhost => $vhost, |
vhost => $vhost, |