aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-23 01:14:05 +0000
committerMichael Scherer <misc@mageia.org>2010-11-23 01:14:05 +0000
commitc65a982acb67ec94fba484d56badc4d557f4e4d9 (patch)
tree7dfac8cc00b2d6920ff4ebd2b1d0dfddc7f57425 /modules/apache
parenta30291f1e669307296064b64295a84492ec2297f (diff)
downloadpuppet-c65a982acb67ec94fba484d56badc4d557f4e4d9.tar
puppet-c65a982acb67ec94fba484d56badc4d557f4e4d9.tar.gz
puppet-c65a982acb67ec94fba484d56badc4d557f4e4d9.tar.bz2
puppet-c65a982acb67ec94fba484d56badc4d557f4e4d9.tar.xz
puppet-c65a982acb67ec94fba484d56badc4d557f4e4d9.zip
- it is IMHO cleaner and logical to have apache::vhost_other_app directly requiring apache::base rather than letting every people adding it when using the class
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index e8f7a575..2c780200 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -130,6 +130,7 @@ class apache {
}
define vhost_other_app($vhost_file) {
+ include apache::base
file { "$name.conf":
path => "/etc/httpd/conf/vhosts.d/$name.conf",
ensure => "present",