From 1dc6b5500c837f8fc117fb884649979f975862f2 Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Tue, 18 Jan 2011 22:47:43 +0000 Subject: add dep and rights --- modules/blog/manifests/init.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/blog/manifests/init.pp') diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index cb932dd2..5331f2e9 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -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 @@ class blog { file { "/var/lib/blog": ensure => directory, - owner => blog, + owner => apache, group => blog, mode => 644, } -- cgit v1.2.1