[Mageia-sysadm] [852] add dep and rights
root at mageia.org
root at mageia.org
Tue Jan 18 23:47:43 CET 2011
Revision: 852
Author: dams
Date: 2011-01-18 23:47:43 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
add dep and rights
Modified Paths:
--------------
puppet/modules/blog/manifests/init.pp
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,
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/089644ab/attachment.html>
More information about the Mageia-sysadm
mailing list