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

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,