From 6c0bc81bed7043b88eb613f7218f447cd027585f Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 15 Dec 2010 01:39:27 +0000 Subject: do not use a variable called module in template, this is a reserved ruby keyword --- modules/apache/manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/apache/manifests') diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 04ca16e1..a46a0974 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -119,6 +119,8 @@ class apache { define vhost_django_app($module, $module_path = '/usr/share') { include apache::mod_wsgi + # module is a ruby reserved keyword, cannot be used in templates + $django_module = $module file { "$name.conf": path => "/etc/httpd/conf/vhosts.d/$name.conf", ensure => "present", -- cgit v1.2.1