aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index 5287eb71..58fd0b5d 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -179,11 +179,12 @@ class apache {
}
}
- define vhost_django_app($module = false, $module_path = false, $use_ssl = false) {
+ define vhost_django_app($module = false, $module_path = false, $use_ssl = false, $aliases= {}) {
include apache::mod_wsgi
vhost_base { $name:
use_ssl => $use_ssl,
- content => template("apache/vhost_django_app.conf")
+ content => template("apache/vhost_django_app.conf"),
+ aliases => $aliases,
}
# module is a ruby reserved keyword, cannot be used in templates