diff options
author | Damien Lallement <dams@mageia.org> | 2011-01-18 22:47:43 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-01-18 22:47:43 +0000 |
commit | 1dc6b5500c837f8fc117fb884649979f975862f2 (patch) | |
tree | 3391cf76d45f374b5ac32973f73e043abc684c7c | |
parent | a740925594d27b0ff2847e8a921cc7565a42552d (diff) | |
download | puppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar puppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar.gz puppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar.bz2 puppet-1dc6b5500c837f8fc117fb884649979f975862f2.tar.xz puppet-1dc6b5500c837f8fc117fb884649979f975862f2.zip |
add dep and rights
-rw-r--r-- | modules/blog/manifests/init.pp | 7 |
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, } |