aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-18 17:33:02 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-18 17:33:02 +0000
commit958aed1ecf400fcd0303dbf708756567f5077a8c (patch)
tree2ede376635d3cf24562432b4fb5751115bc7f3b2 /modules
parent325604b90eaf92471a18ae167c15d9de16307296 (diff)
downloadpuppet-958aed1ecf400fcd0303dbf708756567f5077a8c.tar
puppet-958aed1ecf400fcd0303dbf708756567f5077a8c.tar.gz
puppet-958aed1ecf400fcd0303dbf708756567f5077a8c.tar.bz2
puppet-958aed1ecf400fcd0303dbf708756567f5077a8c.tar.xz
puppet-958aed1ecf400fcd0303dbf708756567f5077a8c.zip
use apache::vhost_other_app
Diffstat (limited to 'modules')
-rw-r--r--modules/blog/manifests/init.pp9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp
index 360d5432..672bb1fb 100644
--- a/modules/blog/manifests/init.pp
+++ b/modules/blog/manifests/init.pp
@@ -17,13 +17,8 @@ class blog {
content => template("blog/check_new-blog-post.sh")
}
- file { "01_blogs_vhosts":
- path => "/etc/httpd/conf/vhosts.d/01_blogs_vhosts.conf",
- ensure => present,
- owner => root,
- group => root,
- mode => 644,
- content => template("blog/01_blogs_vhosts.conf")
+ apache::vhost_other_app { "blog.$domain":
+ vhost_file => "/etc/httpd/conf/vhosts.d/01_blogs_vhosts.conf",
}
file { "/var/lib/blog":