Revision
148
Author
dams
Date
2010-11-05 16:39:56 +0100 (Fri, 05 Nov 2010)

Log Message

add the creation of '/var/lib/blog/' in init.pp

Modified Paths

Modified: puppet/modules/blog/manifests/init.pp
===================================================================
--- puppet/modules/blog/manifests/init.pp	2010-11-05 15:29:35 UTC (rev 147)
+++ puppet/modules/blog/manifests/init.pp	2010-11-05 15:39:56 UTC (rev 148)
@@ -1,4 +1,5 @@
-#TODO: add the creation of the user 'blog' in puppet
+#TODO: 
+# - add the creation of the user 'blog' in puppet
 class blog {
 	package { 'wget':
         	ensure => installed
@@ -14,6 +15,12 @@
         	mode => 755,
         	content => template("blog/check_new-blog-post.sh")
     	}
+	file { "/var/lib/blog/":
+                ensure => present,
+                owner => blog,
+                group => blog,
+                mode => 644
+        }
 	cron { blog:
         	user => blog,
         	hour => 0,