aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-24 14:33:39 +0000
committerMichael Scherer <misc@mageia.org>2011-02-24 14:33:39 +0000
commit1c1c6ca9b96dd5a7b438baa47e36bc8100d73f8d (patch)
tree2ac9df6ede8c3312f0fb39536bc7103b01bc1d73 /modules
parent5c3af02b677cf07a88bdb4241725e5c5b53ee3f9 (diff)
downloadpuppet-1c1c6ca9b96dd5a7b438baa47e36bc8100d73f8d.tar
puppet-1c1c6ca9b96dd5a7b438baa47e36bc8100d73f8d.tar.gz
puppet-1c1c6ca9b96dd5a7b438baa47e36bc8100d73f8d.tar.bz2
puppet-1c1c6ca9b96dd5a7b438baa47e36bc8100d73f8d.tar.xz
puppet-1c1c6ca9b96dd5a7b438baa47e36bc8100d73f8d.zip
let a django application declare aliases
Diffstat (limited to 'modules')
-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