aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog/manifests
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-01-18 22:47:43 +0000
committerDamien Lallement <dams@mageia.org>2011-01-18 22:47:43 +0000
commit1dc6b5500c837f8fc117fb884649979f975862f2 (patch)
tree3391cf76d45f374b5ac32973f73e043abc684c7c /modules/blog/manifests
parenta740925594d27b0ff2847e8a921cc7565a42552d (diff)
downloadpuppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar
puppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar.gz
puppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar.bz2
puppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar.xz
puppet-1dc6b5500c837f8fc117fb884649979f975862f2.zip
add dep and rights
Diffstat (limited to 'modules/blog/manifests')
-rw-r--r--modules/blog/manifests/init.pp7
1 files changed, 4 insertions, 3 deletions
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,
}