[Mageia-sysadm] [837] use apache::vhost_other_app

root at mageia.org root at mageia.org
Tue Jan 18 18:33:02 CET 2011


Revision: 837
Author:   boklm
Date:     2011-01-18 18:33:02 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
use apache::vhost_other_app

Modified Paths:
--------------
    puppet/modules/blog/manifests/init.pp

Modified: puppet/modules/blog/manifests/init.pp
===================================================================
--- puppet/modules/blog/manifests/init.pp	2011-01-18 17:22:41 UTC (rev 836)
+++ puppet/modules/blog/manifests/init.pp	2011-01-18 17:33:02 UTC (rev 837)
@@ -17,13 +17,8 @@
         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":
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/21f39484/attachment.html>


More information about the Mageia-sysadm mailing list