[Mageia-sysadm] [831] add the vhost for blogs

root at mageia.org root at mageia.org
Tue Jan 18 17:59:27 CET 2011


Revision: 831
Author:   dams
Date:     2011-01-18 17:59:26 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
add the vhost for blogs

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

Modified: puppet/modules/blog/manifests/init.pp
===================================================================
--- puppet/modules/blog/manifests/init.pp	2011-01-18 16:50:59 UTC (rev 830)
+++ puppet/modules/blog/manifests/init.pp	2011-01-18 16:59:26 UTC (rev 831)
@@ -8,7 +8,7 @@
         ensure => installed
     }
 
-	file { "check_new-blog-post":
+    file { "check_new-blog-post":
         path => "/usr/local/bin/check_new-blog-post.sh",
         ensure => present,
         owner => blog,
@@ -17,6 +17,15 @@
         content => template("blog/check_new-blog-post.sh")
     }
 
+    file { "01_blogs_vhosts.conf":
+        path => "/etc/httpd/conf/vhosts.d/",
+        ensure => present,
+        owner => root,
+        group => root,
+        mode => 644,
+        content => template("blog/01_blogs_vhosts.conf")
+    }
+
     file { "/var/lib/blog":
         ensure => directory,
         owner => blog,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/e6e89598/attachment.html>


More information about the Mageia-sysadm mailing list