Revision
852
Author
dams
Date
2011-01-18 23:47:43 +0100 (Tue, 18 Jan 2011)

Log Message

add dep and rights

Modified Paths

Modified: puppet/modules/blog/manifests/init.pp
===================================================================
--- puppet/modules/blog/manifests/init.pp	2011-01-18 22:43:54 UTC (rev 851)
+++ puppet/modules/blog/manifests/init.pp	2011-01-18 22:47:43 UTC (rev 852)
@@ -1,10 +1,11 @@
 #TODO: 
 # - add the creation of the user 'blog' in puppet
+# - add the user 'blog' to the 'apache' group (usermod -a -G apache blog)
 class blog {
-	include apache::mod_php
+    include apache::mod_php
     include mysql
 
-    package { ['wget','php-mysql']:
+    package { ['wget','mod_rewrite','php-mysql']:
         ensure => installed
     }
 
@@ -23,7 +24,7 @@
 
     file { "/var/lib/blog":
         ensure => directory,
-        owner => blog,
+        owner => apache,
         group => blog,
         mode => 644,
     }