From 5f48726bdd74314f18442aaf2a7468c511e2d8e2 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 1 Feb 2011 12:44:56 +0000 Subject: - add support of aliases definition, prior to vhost_wsgi type merge --- modules/apache/manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/apache/manifests') diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index ea34f1fb..5255c072 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -106,6 +106,7 @@ class apache { $location = '/dev/null', $use_ssl = false, $vhost = false, + $aliases = {}, $enable_public_html = false) { if ! $vhost { $real_vhost = $name @@ -172,7 +173,7 @@ class apache { } } - define vhost_wsgi($wsgi_path, $aliases = false) { + define vhost_wsgi($wsgi_path, $aliases = {}) { include apache::mod_wsgi file { "$name.conf": path => "/etc/httpd/conf/vhosts.d/$name.conf", -- cgit v1.2.1