aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-01 12:44:59 +0000
committerMichael Scherer <misc@mageia.org>2011-02-01 12:44:59 +0000
commit39e3ca75f9f7dc4e0b255eafeee89cbde00e94d6 (patch)
treec92cb196ac6b0d67dd148fbed31c2395af6c65e4 /modules/apache/manifests
parent5f48726bdd74314f18442aaf2a7468c511e2d8e2 (diff)
downloadpuppet-39e3ca75f9f7dc4e0b255eafeee89cbde00e94d6.tar
puppet-39e3ca75f9f7dc4e0b255eafeee89cbde00e94d6.tar.gz
puppet-39e3ca75f9f7dc4e0b255eafeee89cbde00e94d6.tar.bz2
puppet-39e3ca75f9f7dc4e0b255eafeee89cbde00e94d6.tar.xz
puppet-39e3ca75f9f7dc4e0b255eafeee89cbde00e94d6.zip
use vhost_base for vhost_wsgi type ( leaner )
Diffstat (limited to 'modules/apache/manifests')
-rw-r--r--modules/apache/manifests/init.pp9
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")
}
}