diff options
Diffstat (limited to 'modules/apache/manifests/init.pp')
-rw-r--r-- | modules/apache/manifests/init.pp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 5255c072..a23b6a56 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -175,13 +175,8 @@ class apache { define vhost_wsgi($wsgi_path, $aliases = {}) { include apache::mod_wsgi - file { "$name.conf": - path => "/etc/httpd/conf/vhosts.d/$name.conf", - ensure => "present", - owner => root, - group => root, - mode => 644, - notify => Service['apache'], + vhost_base { $name: + aliases => $aliases, content => template("apache/vhost_wsgi.conf") } } |