diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-12 14:03:22 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-12 14:03:22 +0000 |
commit | 4ce4e8a0ea6d78c1bfcc8465ddf74b7f3e9c155f (patch) | |
tree | 0513a579c69ede7802d5c17cb80715388484b44b /modules/blog | |
parent | 705272721572be8237ed0e34d9d84409074d2591 (diff) | |
download | puppet-4ce4e8a0ea6d78c1bfcc8465ddf74b7f3e9c155f.tar puppet-4ce4e8a0ea6d78c1bfcc8465ddf74b7f3e9c155f.tar.gz puppet-4ce4e8a0ea6d78c1bfcc8465ddf74b7f3e9c155f.tar.bz2 puppet-4ce4e8a0ea6d78c1bfcc8465ddf74b7f3e9c155f.tar.xz puppet-4ce4e8a0ea6d78c1bfcc8465ddf74b7f3e9c155f.zip |
- use /var/lib/blog for home directory of the systm user running blog
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/manifests/init.pp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index 411214e0..09b839cd 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -5,6 +5,7 @@ class blog { comment => "User running cron jobs for blog", ensure => present, managehome => true, + home => "/var/lib/blog", } include apache::mod_php @@ -17,13 +18,6 @@ class blog { ensure => installed } - file { "/var/lib/blog": - ensure => directory, - owner => blog, - group => blog, - mode => 644, - } - file { "check_new-blog-post": path => "/usr/local/bin/check_new-blog-post.sh", ensure => present, |